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

 ID:               51912
 Updated by:       f...@php.net
 Reported by:      z0ned at hotmail dot com
 Summary:          system(): Unable to fork
-Status:           Open
+Status:           Bogus
 Type:             Bug
 Package:          Program Execution
 Operating System: Ubuntu Linux 10.04LTS Lucid
 PHP Version:      5.3.2

 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP 5.3.2-1ubuntu4.2 is the Ubuntu version of PHP.

Please try the release from php.net, the current svn snapshot or report
bugs to Ubuntu.


Previous Comments:
------------------------------------------------------------------------
[2010-05-26 01:47:59] z0ned at hotmail dot com

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

safe_mode = Off

disable_functions =

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