1
vote
1answer
59 views

Describing `strace` command output

I have php process which could not finish for more then 2 days. root 26511 0.0 1.6 407788 27684 ? Ss Jul09 0:08 /usr/bin/php action.php This is the output from the strace command: ...
0
votes
2answers
257 views

Log PHP-script that take long time to render

I would like to find out, which pages on my server are really slow. Is it possible to log all pages that took longer than 2 seconds to render in a file? /var/log/php/php-slow.log Or could the ...
0
votes
1answer
51 views

Add causing php-script to mysql-slow.log

If you enable the line log_slow_queries = /var/log/mysql/mysql-slow.log in /etc/my.cnf or /etc/mysql/my.cnf then that will log all queries, that take longer than the setting in long_query_time. ...
0
votes
2answers
226 views

Where to get the source tar of zend debugger for PHP 5.3.x for linux?

I went here,but the web debugger only contains the windows version zenddebugger.dll, where to get the source tar of zend debugger or better the zenddebugger.so for linux?
1
vote
1answer
2k views

Troubleshooting PHP High CPU on Production Server

We're trying to find a bug that will cause multiple PHP processes to be run at the same time and thus eating up the CPU resources for around 5 minutes. During these 5 minutes, our server will totally ...
0
votes
2answers
682 views

Configuration parameter in xdebug for allowing multiple hosts on remote machine

I am working on one web application. The project located on my linux box i.e. server. We are remotely accessing this machine from windows. I am using xdebug for debugging alongwith Eclipse PDT. ...
1
vote
1answer
201 views

How to use xdebug with eclipse IDE for PHP?

Hi my PHP project is set up on a remote test machine. I need to debug it using eclipse IDE. How shall I progress. I came to know i should prefer Xdebug rather than zend debugger. Please clarify my ...
0
votes
3answers
110 views

What's XDebug used for?

test:coverage relies on XDebug to collect its information, you need to install it and enable it first. How does it work?
0
votes
1answer
794 views

503 service unavailable debugging PHP files

I have a web server with apache 2.0 installed. It comes with Zend Server install pack. When I’m trying to debug my php files apache serves a blank page with 503 service unavailable. Of course slow ...