APD generates no output
| From: | Gustavo Narea | Date: | Mon, 06 Feb 2006 17:31:55 +0000 |
| Subject: | APD generates no output | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229970@lists.php.net to get a copy of this message | ||
Hello everybody.
I'm trying to use the Advanced PHP Debugger (APD), but it generates no output. Actually, It does generate a file, but with no content.
What's going on?
1.- I installed the APD by running
pear install APD with no problem.
2.- Setup my php.ini file the same way as described in <http://php.net/apd>.
3.- Restarted my web server.
4.- Called the apd_set_pprof_trace() function at the first line of my script.
5.- Loaded the web page. I have error_reporting set to E_ALL and display_errors is enabled, but... PHP doesn't output errors, does it mean that everything was OK?
6.- When I open the file generated by APD, I realize it's empty.
7.- Anyway, I run pprofp -R pprof.<number>.0, but there's no output (not even an error message).
I was using PHP v5.0.4 and APD worked just fine, but I had to downgrade to PHP v5.0.3 and now I have this problem. In both versions of PHP I was using APD v1.0.1.
The fact that I had downgraded to v5.0.3 has nothing to do with this problem (IMO), as I deleted all of the files in the previous PHP directory prior to install PHP 5.0.3.
TIA!
Cheers.
--
Gustavo Narea.
PHP Documentation - Spanish Translation Team.
Valencia, Venezuela.