Re: php 5 upgrade and background script on unix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 itself.
> 
> Me:
> You haven't read my message? 

yes I did.

> It works fine when Im running it from the
> shell

the question was referring to what happens when running the exec() line
via the apache php module, I had thought that that was obvious.

> 
> 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?

fix/debug it yourself.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux