There are few options to debug PHP projects. By default XDebug is not configured in PHP engine. So you need to follow some steps.
Steps:
- If you have used any of the AMP package like XAMPP/WAMP/LAMP, the XDebug extension may be already installed in your PHP engine.If not download the XDebug tool from its official website.
- Download the XDebug extension compatible with your version of PHP and save it in the php/ folder.
- Locate and open the active php.ini file. If you use AMP package you will find php.ini file under the php/ folder.
- To enable XDebug, locate the [XDebug] section in the php.ini file and update it as follows:
[XDebug] zend_extension="[AMP Path]\php\ext\php_xdebug.dll" xdebug.remote_enable = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" xdebug.remote_port = 9000
- Restart the web server.
- To check the XDebug installation Open the XDebug checker. Enter the output of the phpinfo().
very nice and informative post..thanks for sharing...
ReplyDeletewhere i can download the file: xdebug.so?
ReplyDeleteConfigure Xdebug To Debug Php Projects
ReplyDelete-
Developers Circle >>>>> Download Now
>>>>> Download Full
Configure Xdebug To Debug Php Projects
-
Developers Circle >>>>> Download LINK
>>>>> Download Now
Configure Xdebug To Debug Php Projects
-
Developers Circle >>>>> Download Full
>>>>> Download LINK KT