Re: Forking doesn't work on php 5.2.1?
| From: | Frederic Belleudy | Date: | Mon, 02 Apr 2007 15:47:26 +0000 |
| Subject: | Re: Forking doesn't work on php 5.2.1? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251934@lists.php.net to get a copy of this message | ||
Well I think I've found the answer:
the configure command is (in part):
'--disable-cli' '--disable-pear'
Ive got another server who is running fork script and '--enable-cli' is in the configure command.
Well Ill let you know guys if it works after I'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 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 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??-- Frederic Belleudy Programmer PWIdeas ICQ #: 253-372-030