From:             
Operating system: Ubuntu Linux 10.04LTS Lucid
PHP version:      5.3.2
Package:          Program Execution
Bug Type:         Bug
Bug description:system(): Unable to fork

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 bug report at http://bugs.php.net/bug.php?id=51912&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51912&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51912&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51912&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51912&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51912&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51912&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51912&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51912&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51912&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51912&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51912&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51912&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51912&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51912&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51912&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51912&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51912&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51912&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51912&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51912&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51912&r=mysqlcfg

Reply via email to