hi in this post i will how to configure xdebug in netbeans for a php application.
1. Go to php.ini file i.e the configuration file
In my case im using WAMP hence the file is at path
\\wamp\bin\apache\apache2.2.22\bin\php.ini
edit that file with below configuration :
zend_extension = "c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug.dll"
[xdebug]
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost:8080
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
make sure you have php_xdebug.dll file in the mentioned path above.
2. Now restart apache server and check adding a debug point in your php application.
1. Go to php.ini file i.e the configuration file
In my case im using WAMP hence the file is at path
\\wamp\bin\apache\apache2.2.22\bin\php.ini
edit that file with below configuration :
zend_extension = "c:/wamp/bin/php/php5.3.13/zend_ext/php_xdebug.dll"
[xdebug]
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost:8080
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
make sure you have php_xdebug.dll file in the mentioned path above.
2. Now restart apache server and check adding a debug point in your php application.
No comments:
Post a Comment