在NetBeans设置PHP调试环境

1. Download XDebug 2.0 from http://www.xdebug.org/.
2. Setting parameters in PHP.ini file:xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
zend_extension_ts="ext/php_xdebug-2.0.3-5.2.5.dll"(pls copy the *.dll to $PHP_HOME/ext)
xdebug.remote_enable=1
3. Test whether if it is sccucesed after in the Notepad, create a file and type the following text in test.php:
<?php
     echo "PHP has been installed successfully!";
?>
4. Try to browse the URL: http://localhost/XXXX/test.php. If your see as follow in browser:
     PHP has been installed successfully!



你可能感兴趣的:(PHP,ext,Netbeans,Zend)