note 18252 deleted from ref.exec by didou
| From: | didou@php.net | Date: | Sun, 03 Aug 2003 10:22:54 +0000 |
| Subject: | note 18252 deleted from ref.exec by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53251@lists.php.net to get a copy of this message | ||
Note Submitter: ian@virtisp.net
----
This note is regard php scripts hanging when running system commands in the background until
background process completes. If you have redirected system command output and PHP still waits
around until background process completes...check if you are using PHP session handlers. If you
have used a start_session() before your exec() look into session_write_close() ...sessions use files
to store session data on ther server to relate to cookies...for some strange reason this open file
handler causes PHP scripts to hang until background completetions...I would think only the file
handlers for the system command output would need to be delt with but ?! FreeBSD, Apache mod, PHP
4.1.1
Cheers,
Ian Carlson
ian@virtisp.net