Frederic Belleudy wrote:
> Hello there, I hope someone resolved the same issue. I upgraded my
> server to 5.2.1
> I got some script that are running background script (generally we call
> this technic FORKING)
> Ive got a web interface that running (depending the action chosen) other
> scripts in the background.
> My issue is, it doesn't work anymore since my new upgrade.
> So I'm using this line to run my background script from the web browser
> interface:
> /usr/local/bin/php test.php 2>&1 error.log

and the [php] code that does the fork is what exactly??

> 
> if Im executing my script from the shell, my fork is working very fine!
> (Odd isn't it)
> I taught it could be owner and rights problems but it's not the case...
> 
> Anyone got suggestions??

don't fork webserver processes, granted it doesn't fix the problem, but you 
really
should be doing it anyway.

I'm guessing that the pcntl extension is not compiled into the webserver php 
SAPI,
it's a really big guess because you didn't supply the code you use to do the 
forking with.

> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to