#24605 [Fbk->Opn]: Scripts Dont Exit, Forced Only

From: Date: Fri, 18 Jul 2003 14:49:26 +0000
Subject: #24605 [Fbk->Opn]: Scripts Dont Exit, Forced Only
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44259@lists.php.net to get a copy of this message
 ID:               24605
 Updated by:       nathan@php.net
 Reported By:      nathan@php.net
-Status:           Feedback
+Status:           Open
 Bug Type:         CGI related
 Operating System: Cobalt Linux
 PHP Version:      5CVS-2003-07-17 (dev)
 New Comment:

Hey,

Ok...

phpinfo()
PHP Version => 5.0.0b2-dev

System => Linux viper.internetww.com 2.2.16C37_III #1 Sat Apr 12
14:54:32 PDT 2003 i586
Build Date => Jul 18 2003 08:31:18
Configure Command =>  './configure' '--prefix=/home/php5'
'--with-zlib-dir=/usr/local/zlib' '--with-libxml-dir=/home/libxml2'
'--disable-cgi' '--enable-cli' '--with-snmp=/home/ucd-snmp'
'--with-gd'
'--enable-sockets' '--enable-exif' '--without-pear'
'--with-mysql=/home/mysql4' '--with-mysql-sock=/tmp/mysql4.sock'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /home/php5/lib
PHP API => 20030518
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib  

That should be enough information.

I wrote a script containing, <?php phpinfo(); ?>.

After executing this script, it gave me the phpinfo information
required, but then stopped. At this point the process should have
stopped, whereas it just left me there as if the process was still
running. If I force exit it, the process closes. If I wait about 2-3
minutes, the process closes itself after a while.

This happens on any script running, phpinfo() being an example.

Thanks.


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

[2003-07-18 03:46:43] sniper@php.net

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.


Start giving proper information..


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

[2003-07-18 03:39:28] nathan@php.net

Hey,

Sorry to reopen this, but ive tried the latest snaps again, and it
seems the scripts still take a long time to close. Is there anything I
can try to get some debugging information to find out why? I just want
to help find a solution where i can :)

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

[2003-07-11 22:14:23] nathan@php.net

Turns out the scripts do stop, just very delayed. Not sure on the
cause.

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

[2003-07-11 11:13:06] sniper@php.net

Works fine here.


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

[2003-07-11 09:43:23] nathan@php.net

Description:
------------
Scripts do not exit after processing code.

Reproduce code:
---------------
#!/home/php5/bin/php
<?php

print "test";

?>


chmod 755 it, and execute.

Expected result:
----------------
Script should print "test" and exit.

Actual result:
--------------
Echoes text, with a delay, but then doesnt exit, just sits active with
no feedback/errors.

Waited 2minutes, script still didnt close gracefully.


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


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



Thread (16 messages)

« previous php.bugs (#44259) next »