From: Dan F. <dfr...@cs...> - 2004-09-14 22:56:30
|
I'd like to run the Advanced PHP Debugger (APD) to try to get some detailed performance profiling. To do so, I have to be able to run PHP from the command-line to get a page I think is loading slowly. I have PHP 4.3.2, which has a command line interface. When I run % php index.php Page=Book SERVER_NAME=localhost I get some of the HomePage (not the "Book" page I asked for), and also errors like: <div class="error"><p>lib/config.php:475: Warning[2]: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address</p> </div> <div class="error"><p>lib/Request.php:442: Warning[2]: session_start(): Cannot send session cookie - headers already sent by (output started at /scratch/gibson/apache2/doc/dfrankow/phpwiki/lib/XmlElement.php:326)</p> </div> ... DB Error: constraint violation Has anyone done this? Any hints? Dan |