Re: [PHP] Forking doesn't work on php 5.2.1?
Sebe wrote: 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 you have to recompile apache each time you compile php.. i use static because u get better performance, but that's another topic of it's own.. I see - I hadn't considered that. do you have any resources to point to with regard to learning to compile php into apache statically? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1?
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 21 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?? don't double post, especially not within 10 minutes of each other - contrary to what you may have heard this mailing list doesn't consist of 10,000 clones bred for the single purpose of answer *your* question as fast as you can ask them. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1? OT
On Monday 02 April 2007 17:11, Jochem Maas wrote: 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 21 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?? don't double post, especially not within 10 minutes of each other - contrary to what you may have heard this mailing list doesn't consist of 10,000 clones bred for the single purpose of answer *your* question as fast as you can ask them. WUT??? noone told me. -- --- Børge http://www.arivene.net --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1?
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 21 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1? OT
Børge Holen wrote: On Monday 02 April 2007 17:11, Jochem Maas wrote: 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 21 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?? don't double post, especially not within 10 minutes of each other - contrary to what you may have heard this mailing list doesn't consist of 10,000 clones bred for the single purpose of answer *your* question as fast as you can ask them. WUT??? noone told me. 'they' never tell anyone, but once in a while one of us drones gets lucky and figures out there is 'life beyond the list' ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1?
Frederic Belleudy wrote: 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. then that is probably what the problem is - although I find it a strange compile option would have that effect. if you run ./configure --help you'll see the following: --disable-cli Disable building CLI version of PHP which doesn't suggest that it would have any effect on the workings of a webserver SAPI. 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. 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 21 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?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1?
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 you have to recompile apache each time you compile php.. i use static because u get better performance, but that's another topic of it's own.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1? OT
Jochem Maas wrote: 'they' never tell anyone, but once in a while one of us drones gets lucky and figures out there is 'life beyond the list' ;-) You want me to do what with who now? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Forking doesn't work on php 5.2.1?
Well my php.ini register_argc_argv = Off apache was configured with the option --disable-cli but cli is installed on my system and it works fine when i do execute the script from the shell so its a problem running php cli from my php apache module any other suggestions!?!??! Sebe wrote: 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 you have to recompile apache each time you compile php.. i use static because u get better performance, but that's another topic of it's own.. -- 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