Unable to fork
Posted: Fri Dec 01, 2006 11:47 am
I’m trying to exec a php file from within another file but I get “Unable to Fork” and a bunch of weird looped data when run the a browser.
The strange thing, when the same script is run on the command line, it works fine.
FileOne.php:
FileTwo.php5
When I run FileOne.php from the command line, it works fine. Only doesnt work when I run it from the web.
Any help would be greatly appreciated. Thanks!!!
The strange thing, when the same script is run on the command line, it works fine.
FileOne.php:
Code: Select all
exec('php5 FileTwo.php5', $output); print_r($output);Code: Select all
echo "OK";Any help would be greatly appreciated. Thanks!!!