#1  
Old 13th October 2012, 20:20
razor7 razor7 is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 6
Thanked 1 Time in 1 Post
Default Can't start xdebug

Hi, I managed to install xdebug and enable it through local php.ini files when needed.

It was working just fine for about a month, but today It doesn't.

If I try to start a debug session with Zend Studio IDE, it gets stuck in "57% launching: waiting for xdebug session"

If I run this command "$ sudo netstat -tunlp | grep 9000" on server console, I get:
Quote:
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1609/php-fpm.conf)
phpinfo reports Xdebug v2.1.0

local php.ini
Quote:
zend_extension='/usr/lib/php5/20090626/xdebug.so'

[xdebug]
xdebug.remote_autostart=Off
xdebug.remote_enable=On
xdebug.remote_connect_back = On
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.profiler_enable = Off
xdebug.profiler_enable_trigger = On
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = '/media/data/www/clients/client1/web2/tmp/'
xdebug.remote_log='/media/data/www/clients/client1/web2/log/xdebug_didomenica.log'
Specs
Ubuntu server 12.04, upgraded today
PHP Version 5.3.10-1ubuntu3.4
Xdebug v2.1.0

Any help is really appreciated!

Thanks a lot!

Last edited by razor7; 13th October 2012 at 20:31.
Reply With Quote
Sponsored Links
  #2  
Old 15th October 2012, 14:49
razor7 razor7 is offline
Member
 
Join Date: May 2007
Posts: 47
Thanks: 6
Thanked 1 Time in 1 Post
 
Default

Hi, just forget it.
With this config options it works! (just changed port to 9001)
Quote:
zend_extension='/usr/lib/php5/20090626/xdebug.so'

[xdebug]
xdebug.remote_enable=On
xdebug.remote_connect_back = On
xdebug.remote_port=9001
xdebug.remote_handler='dbgp'
xdebug.remote_log='/media/data/www/clients/client1/web2/log/xdebuga.log'
xdebug.profiler_enable=Off
xdebug.profiler_enable_trigger=Off
xdebug.profiler_output_name=cachegrind.out.%t.%p
xdebug.profiler_output_dir='/media/data/www/clients/client1/web2/tmp/'
For some reason, I had to erase my ZendStudio "workspaces" folder, and import all my projects again, and of course, changed por of debugger in "windows->preferences->php->debug->configure"
Reply With Quote
The Following User Says Thank You to razor7 For This Useful Post:
falko (16th October 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monit & Munin SamTzu HOWTO-Related Questions 2 23rd September 2014 22:20
monitrc configuration for Debian ISPConfig 3 server Hans Tips/Tricks/Mods 2 27th March 2011 23:22
Monitoring server Ubuntu wiss Installation/Configuration 7 20th November 2010 12:56
packet loss Chad Server Operation 2 12th June 2008 14:13
"Too many open files in system" problems Berry Installation/Configuration 3 10th November 2007 21:58


All times are GMT +2. The time now is 11:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.