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

2007-04-03 Thread Jochem Maas
Frederic Belleudy wrote: Jochem: won't it? what does it do? does it go into and endless loop and bring your machine to a halt by any chance? .. because by looking at it, as long as $in['bg'] is not set and not equal to true it's going to keep spawning sub-shells with cmdlines that call

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

2007-04-02 Thread Jochem Maas
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

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

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

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

2007-04-02 Thread Jochem Maas
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 you didn't supply the code you use to

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

2007-04-02 Thread Frederic Belleudy
Jochem: won't it? what does it do? does it go into and endless loop and bring your machine to a halt by any chance? .. because by looking at it, as long as $in['bg'] is not set and not equal to true it's going to keep spawning sub-shells with cmdlines that call itself. Me: You haven't read my

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 you didn't supply the