Re: [PHP] Re: Restarting a daemon in PHP
>> It works just fine, the daemon is started, but apache does not respond >> any more in the current session. Only if I close the brower and >> restart it, I can access the website again. Does anyone know of a good >> workaround? > > I encountered the same behaviour after sending mail from a PHP webmail > client. I'm puzzled, too... This could because exec statements are executed in the foreground. Your best bet would be to background the process with &. exec("perl myscript.pl &"); -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Restarting a daemon in PHP
"Daniel Fabian" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It works just fine, the daemon is started, but apache does not respond any > more in the current session. Only if I close the brower and restart it, I > can access the website again. Does anyone know of a good workaround? I encountered the same behaviour after sending mail from a PHP webmail client. I'm puzzled, too... Regards, Martijn. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php