![]() Refresh your phpinfo page and use the Xdebug wizard again to verify successful installation. On the Configuring Xdebug page in the PhpStorm documentation we should now be down to checking the Xdebug installation. Ok, now you can restart your web server by stopping Apache and then starting it again. Zend_extension="C:\Program Files (x86)\Zend\ZendServer\lib\ZendExtensionManager.dll" Xdebug.profiler_output_dir="C:\Program Files (x86)\Zend\ZendServer\tmp" Zend_extension="C:\Program Files (x86)\Zend\ZendServer\lib\phpext\php_xdebug-2.2." Actually, I did a search for “zend_extension” and put that line of code as well as the following above the current line in my php.ini file with the zend_extension. In step 4 above it says to add the line of code at the top of the file. ![]() If you like Xdebug, and thinks it saves you time and money, please have a look at the donation page. Zend_extension = C:\Program Files (x86)\Zend\ZendServer\lib\phpext\php_xdebug-2.2. Edit C:\Program Files (x86)\Zend\ZendServer\etc\php.ini and add at the begining of the file the line.Open C:\Program Files (x86)\Zend\ZendServer\etc\cfg\debugger.ini and put a in front of the line that says zend_extension_= so that it says zend_extension_=.Move the downloaded file to C:\Program Files (x86)\Zend\ZendServer\lib\phpext.Warning: You seem to be using Zend Server, which is known to cause issues with Xdebug. Go ahead and do the following below except for step 5. NOTE: There’s an extra step that we need to do before we restart our web server in step 5. When I pasted my phpinfo into this wizard and and clicked on the Analyse my phpinfo() output button I got the following output: You can then view the source of this page, select all, copy, and paste into the Xdebug wizard to determine which version of Xdebug you need to download. Save this script as a php file and run it in your browser. To get your phpinfo simply write a script as following: Fortunately, there’s a link under Releases to custom installation instructions which includes a wizard that you can simply paste the source of your phpinfo and it will inform you as to which version of Xdebug you should download. I was a bit confused as to which version of Xdebug I should download. To do that you need to go to the Xdebug download page. This page says we need to install the Xdebug debugging engine. I’ll include several links in this documentation to help walk us through how I got started using PhpStorm and Xdebug.įirst, let’s go to the Configuring Xdebug page in the PhpStorm documentation. I believe the PhpStorm documentation has a good table of contents, is intuitively laid out, has informative contents, and has lots of good links to navigate you where you need to go. One thing I like so far about PhpStorm is the documentation. See more on the Xdebug extension for PHP. ![]() So far, I’m liking PhpStorm the best and in this post I’ll go further into how I got started with Xdebug in PhpStorm.Īs of this writing I’m using Windows 7, Zend Server CE 5.6.0, PHP 5.3.14, PhpStorm 5.0.1, and Xdebug php_xdebug-2.2. Some of the IDE’s I looked at for a replacement were Aptana Studio 3, NetBeans 7.2, PhpStorm 5, and Zend Studio 9. Unfortunately, my old trusty editor does not support some of the new features introduced with PHP 5.3 including namespaces and closures. I’ve been using Zend Studio 5.5.0 as my IDE for as long as I can remember.
0 Comments
Leave a Reply. |