ID:               36893
 User updated by:  pigo at mail dot pigo dot idv dot tw
 Reported By:      pigo at mail dot pigo dot idv dot tw
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: Windows XP SP2
 PHP Version:      5.1.2
 New Comment:

I test the site example also happed eroor
http://wiki.cc/php/Zend_Controller


In the application.php line 22 code is 
$this->view->setScriptPath( PATH );
if the PATH is a wrong path , it also waiting response.
I think this is not a zend framework bug , because I got new apache
error log :

[Wed Mar 29 22:10:30 2006] [debug] child.c(758): Child 360: Worker
thread 0 exiting.
[Wed Mar 29 22:10:31 2006] [notice] Child 360: Waiting for 250 worker
threads to exit.
[Wed Mar 29 22:10:31 2006] [notice] Child 360: All worker threads have
exited.
[Wed Mar 29 22:10:31 2006] [notice] Child 360: Child process is
exiting
[Wed Mar 29 22:10:32 2006] [notice] Parent: Child process exited
successfully.
[Wed Mar 29 22:10:32 2006] [info] removed PID file C:/Program
Files/Apache Group/Apache2/logs/httpd.pid (pid=3884)
[Wed Mar 29 22:10:34 2006] [notice] Apache/2.0.55 (Win32)
PHP/5.1.3RC2-dev configured -- resuming normal operations
[Wed Mar 29 22:10:34 2006] [notice] Server built: Oct  9 2005 19:16:56
[Wed Mar 29 22:10:34 2006] [notice] Parent: Created child process 3052
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(480): Parent: Sent the
scoreboard to the child
[Wed Mar 29 22:10:34 2006] [notice] Child 3052: Child process is
running
[Wed Mar 29 22:10:34 2006] [info] Parent: Duplicating socket 280 and
sending it to child process 3052
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(401): Child 3052:
Retrieved our scoreboard from the parent.
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(598): Parent: Sent 1
listeners to child 3052
[Wed Mar 29 22:10:34 2006] [debug] mpm_winnt.c(557): Child 3052:
retrieved 1 listeners from parent
[Wed Mar 29 22:10:34 2006] [notice] Child 3052: Acquired the start
mutex.
[Wed Mar 29 22:10:34 2006] [notice] Child 3052: Starting 250 worker
threads.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker
thread 0 starting.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker
thread 1 starting.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker
thread 2 starting.
[Wed Mar 29 22:10:34 2006] [debug] child.c(697): Child 3052: Worker
thread 3 starting.

Apache restart by itself , than apache will not response any data ...
and no any access log


Previous Comments:
------------------------------------------------------------------------

[2006-03-28 17:21:30] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



------------------------------------------------------------------------

[2006-03-28 17:01:53] pigo at mail dot pigo dot idv dot tw

My apache version is 2.0.55
I changed the apache setting to php cgi mode
I got the error log

Premature end of script headers: php-cgi.exe

------------------------------------------------------------------------

[2006-03-28 16:06:25] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2006-03-28 16:03:06] pigo at mail dot pigo dot idv dot tw

If I stop apache and start apache.
Than I open browser to view info.php , it can run.
But I view the test.php it is still waiting apache response ...

------------------------------------------------------------------------

[2006-03-28 15:52:34] pigo at mail dot pigo dot idv dot tw

Description:
------------
Apache or PHP Crash ?
I am testing Zend Framework.
When I give $this->view->setScriptPath( ) a error path like
"c:\\wwwrootabc\www2.pigo\\www\application\"
My browser will waiting for response ...
My CPU Loading is lower , apache is still running .
Ok . I try to open my brower to view a script info.php( <?php info();
?>
The browser is also wating ..... ha
But apache's cpu loading still lower and not die ...
Anyone help me ?

Reproduce code:
---------------
class IndexController extends Zend_Controller_Action 
{
    /**
     * Enter description here...
     *
     * @var Zend_View
     */
    protected $view;
    public function __construct() {
            $this->view = new Zend_View();
           
$this->view->setScriptPath("c:\\wwwroot\\www2.pigo\\www\\application\\views");
    }

Expected result:
----------------
I am testing Zend Framework.
When I give $this->view->setScriptPath( ) a error path like
"c:\\wwwrootabc\www2.pigo\\www\application\"
My browser will waiting for response ...
My CPU Loading is lower , apache is still running .
Ok . I try to open my brower to view a script info.php( <?php info();
?>
The browser is also wating ..... ha
But apache's cpu loading still lower and not die ...
Anyone help me ?

Actual result:
--------------
When I run the error code . no php error . no apache error ...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36893&edit=1

Reply via email to