|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-26 01:47 UTC] z0ned at hotmail dot com
[2010-06-10 13:05 UTC] fa@php.net
-Status: Open
+Status: Bogus
[2010-06-10 13:05 UTC] fa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 08:00:01 2025 UTC |
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.