View Single Post
  #4  
Old 17th February 2013, 18:17
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 150
Thanks: 35
Thanked 13 Times in 13 Posts
Default

Hi Falko,

I upgraded to ISPConfig 3.0.5. phpinfo() indicates that I am now using PHP 5.3.18, but Xdebug no longer works in Google Chrome.

When I was using PHP v5.4, Xdebug and PhpStorm played well together, everything worked.

I have been working for two hours trying to resolve this issue, but cannot get Xdebug to work in PHP 5.3.18.

I make changes to my configuration, and check them in: http://xdebug.org/wizard.php, and it always reports this:

Quote:
Summary

Xdebug installed: no
Server API: CGI/FastCGI
Windows: no
Zend Server: no
PHP Version: 5.3.18
Zend API nr: 220090626
PHP API nr: 20090626
Debug Build: no
Thread Safe Build: no
Configuration File Path: /opt/php-5.3.18/lib
Configuration File: /var/www/conf/web1/php.ini
Extensions directory: /opt/php-5.3.18/lib/php/extensions/no-debug-non-zts-20090626
Instructions

Download xdebug-2.2.1.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.2.1.tgz
Run: cd xdebug-2.2.1
Run: phpize (See the FAQ if you don't have phpize.

As part of its output it should show:

Configuring for:
...
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.

Run: ./configure
Run: make
Run: cp modules/xdebug.so /opt/php-5.3.18/lib/php/extensions/no-debug-non-zts-20090626
Edit /var/www/conf/web1/php.ini and add the line
zend_extension = /opt/php-5.3.18/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
Restart the webserver
I have done all of those things that I'm told to do, but it's not working. Here is the config information tacked on to the end of my php.ini file from /var/www/conf/web1:

Code:
;xdebug configuration
;the line immediately below is for php v5.4
;zend_extension =/usr/lib/php5/20100525/xdebug.so
zend_extension=/opt/php-5.3.18/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
xdebug.remote_host=192.168.1.200
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
Do you have any idea what I need to do to get Xdebug working with PhpStorm again using this configuration?

Thank you,
Darin
Reply With Quote