![]() Added the dummy.php file into the web server root folder. Zend_extension_ts=C:\xampp\php\ext\ZendDebugger.dll Modified the php.ini file (added at the end) the following: Added the ZendDebugger.dll of the 5-3-x-nts version to the extension dir (in my php_info file says is located in: C:\xampp\php\ext). Downloaded the debugger for the PHP 5.3 version (from. However, and after relaunching the Apache it doesn't seem to take any effect.įollowing is what I have done specifically: ![]() I have checked the php.ini file, and added the corresponent lines and I have added the dummy.php in the root server folder. If PHP Tools debugging session was started before a configuration change, it is recommended to close it by exiting its systray icon or restarting Visual Studio.I've been trying for the last two hours to install the Zend debugger into my PHP configuration (is under XAMPP). If you do not see the section above in your phpinfo output, there may be something wrong with your PHP configuration or you may need to restart your web server to let PHP update its configuration. You should see the Xdebug section in the output. Open the corresponding URL in your browser. To verify your Xdebug installation, follow these steps:Ĭreate a simple PHP file containing the following: Note that restarting nginx will not reload php.ini! You will need to restart PHP, or your server. ![]() Change Xdebug port to 9001 both in php.ini and in Visual Studio settings. Note: nginx server using FastCGI may block port 9000 by default. The default value is 9000 (For Xdebug 3 it's 9003) and it is usually enough just to leave it as it is. Xdebug.remote_port setting has to be the same as in PHP Tools options (in Visual Studio, Tools | Options | PHP Tools | Advanced).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |