Re: Re: Restarting a daemon in PHP

From: Date: Thu, 12 Dec 2002 10:18:10 +0000
Subject: Re: Re: Restarting a daemon in PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-127976@lists.php.net to get a copy of this message
>> 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 [dhardiker@staff.firstcreative.net] ADAM Software & Systems Engineer First Creative

« previous php.general (#127976) next »