Re: [PHP] php 5 upgrade and background script on unix

2007-04-02 Thread Frederic Belleudy
Jochem Maas wrote: Frederic Belleudy wrote: 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 y

Re: [PHP] Forking doesn't work on php 5.2.1?

2007-04-02 Thread Frederic Belleudy
: Jochem Maas wrote: Frederic Belleudy wrote: Well Ill let you know guys if it works after I've recompiled apache try recompiling php - recompiling apache won't have an effect as far as that compile option goes. it will if php is complied statically into apache, then y

Re: [PHP] php 5 upgrade and background script on unix

2007-04-02 Thread Frederic Belleudy
You haven't read my message? It works fine when Im running it from the shell When I do: `/usr/local/bin/php /www/admin.gammacash.com/test/test_fork.php bg=1 2>&1 /var/log/test.log &` you can see bg=1 its the passing arguments! any other suggestions? Jochem Maas wrote: Fre

Re: [PHP] Forking doesn't work on php 5.2.1?

2007-04-02 Thread Frederic Belleudy
7;ve recompiled apache How comes it does work when Im executing it from the shell and not from the web??? Any explanations? 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

Re: [PHP] php 5 upgrade and background script on unix

2007-04-02 Thread Frederic Belleudy
web, it wont execute itself in background. This method was running fine with my old config. The script works perfectly because if Im executing test_fork.php from the shell, the fork is working fine! __ NOD32 2162 (20070402) Information __ This message was checked by NOD32 antivi

[PHP] Forking doesn't work on php 5.2.1?

2007-04-02 Thread Frederic Belleudy
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 do

[PHP] php 5 upgrade and background script on unix

2007-04-02 Thread Frederic Belleudy
ld be owner and rights problems but it's not the case... Anyone got suggestions?? -- Frederic Belleudy Programmer PWIdeas ICQ #: 253-372-030 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php