

Zend_extension="/usr/lib/php5/20100525/xdebug.so"Ĭhange the location of zend_extension as needed! Edit this file and add the lines below (uncomment any section if it exists): The second column shows the active php.ini . Now in the output of the phpinfo() call search for the value Loaded Configuration File. When configure runs ok execute the make command: makeĪfter the make command has finished you have a compiled xdebug.so module in the modules directory.Ĭopy the xdebug.so module to /usr/lib/php5/ When you see something like the text above you know you’re good to go.Įxecute. Run the phpize command (prepare PHP extension for compiling) the output should be something like: $>phpize Goto the directory created by the unzip command: cd to xdebug-2.2.3 Unzip the archive with tar -xzvf xdebug-2.2.3.tgz Ĭopy the contents of this page ( not the page source) and paste it into the textbox found at. This can easily be done by creating a PHP script with a call to phpinfo().

First step is to determine the active php.ini . Next thing to do is configure XDebug and Apache to work together. PhpStorm 7 depends on java so you should also install java onto your system. You can also find posts about installing Apache and Mysql on this blog.įirst of all download a copy of phpStorm 7 and unpack it to a directory of your choice. This post only describes the installation of XDebug and the use of phpStorm 7. This post describes the step to take to debug your PHP website with phpStorm 7 and XDebug. The phpStorm 7 IDE is an excellent tool to write your PHP code in.
