Edit report at http://bugs.php.net/bug.php?id=51912&edit=1

 ID:               51912
 User updated by:  z0ned at hotmail dot com
 Reported by:      z0ned at hotmail dot com
 Summary:          system(): Unable to fork
 Status:           Open
 Type:             Bug
 Package:          Program Execution
 Operating System: Ubuntu Linux 10.04LTS Lucid
 PHP Version:      5.3.2

 New Comment:

/etc/php5/cli/php.ini has:

safe_mode = Off

disable_functions =


Previous Comments:
------------------------------------------------------------------------
[2010-05-26 01:19:52] z0ned at hotmail dot com

Description:
------------
On an Ubuntu 10.04LTS Lucid system with PHP 5.3.2-1ubuntu4.2



Running from the command line: php some_script.php



Calling within: system('/usr/bin/php a_script.php');



Getting:



PHP Warning:  system(): Unable to fork [/usr/bin/php a_script.php] in
/path/to/some_script.php on line 258



I've seen plenty of bug reports for Windows users but this is under
Linux and I don't see any open reports for Linux.



Expected result:
----------------
On a different Ubuntu 9.10 Karmic system with PHP 5.2.10-2ubuntu6.4, the
same code works fine, e.g. a_script.php is executed and the output is
displayed.



Actual result:
--------------
The script specified in the system() call is not executed and no output
is displayed, just the "Unable to fork" warning.




------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51912&edit=1

Reply via email to