CGI/FastCGI problem when debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, everyone,
I built a project base on ZF in Zend Studio 8, and run well. But when I
debug the index.php as PHP Web Page, it always get the index.php file "save
as", and then an CGI/FastCGI error, soon or later. 
I use Zend Debugger, and Local Zend server.
I googled much , and have changed settings about some timing controls. Like:

C:\..\Zend\ZendServer\etc \ZendEnablerConf.xml  
<Timeouts connectionTimeout="60" requestTimeout="120" />  to <Timeouts
connectionTimeout="600" requestTimeout="1200" />
And, in Zend Server-Server Setup-Directives, change the
"max_execution_time"to 600,restart php and Apache-Zend。Also I shut down the
time limit in
"ZendServer/GUI/applications/CE/models/Plugins/Initializer/CE.php" (
//set_time_limit(60);)

But the index.php"save as " and the CGI problem still there.

I checked Zend Server's httpd.conf  and  Zend.conf, nothing weird.  Testing
debugger in Zend Studio also succced.

And more strangely, if I hold the F5 key, let the debugger step quickly, it
has a big chance to get this in brower: 
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, admin@xxxxxxxxxxx and inform them
of the time the error occurred, and anything you might have done that may
have caused the error.
More information about this error may be available in the server error log.

At the same time, the address bar will be:
http://localhost:8081/quickstart/quickstart/public/index.php?debug_host=192.
168.0.181%2C127.0.0.1&debug_fastfile=1&start_debug=1&debug_port=10137&use_re
mote=1&original_url=http%3A%2F%2Flocalhost%3A8081%2Fquickstart%2Fquickstart%
2Fpublic%2Findex.php&send_sess_end=1&debug_stop=1&debug_start_session=1&debu
g_no_cache=1305510553167&debug_session_id=1007

the ip address "192.168.0.181" is my laptop's wireless ip, but I have
already set the ServerName to 127.0.0.1 in Zend server's httpd.conf.  So why
the debug_host will be 192.168.0.181? Dose this can figure any clue to my
problem above? 

I have ticked around here for 3 days. Any help appreciated!!

Best Wishes.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux