Bug #11649 Updated: Unable to Fork errors
| From: | andy@php.net | Date: | Thu, 02 Aug 2001 00:30:01 +0000 |
| Subject: | Bug #11649 Updated: Unable to Fork errors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61791@lists.php.net to get a copy of this message | ||
ID: 11649
Updated by: andy
Reported By: gvirgo@mithril.ca
Old Status: Feedback
Status: Duplicate
Bug Type: Program Execution
Operating System: Win98
PHP Version: 4.0.6
New Comment:
dup of 12485
Previous Comments:
------------------------------------------------------------------------
[2001-07-23 11:44:32] kalowsky@php.net
did this work with derick's suggestion?
------------------------------------------------------------------------
[2001-06-25 05:35:09] derick@php.net
Try it with the full path to the executable, like this:
exec ("c:\windows\playmp3.exe test.mp3");
------------------------------------------------------------------------
[2001-06-25 03:56:26] gvirgo@mithril.ca
According to the ChangeLog, the inablity to fork issue in the exec family has been fixed on Win32 in
4.0.6. Unfortunately, this is not so. Calling system(), exec(), or passthru() produces the
following error msg:
Warning: Unable to fork [test.mp3] in exec.php at line 3
Calling escapeshellcmd() or escapeshellarg() does not give an error or warning message, but also
does not execute the command. The above mentions problems occur when the functions are called when
running PHP as an Apache module, or by executing the script from command line. Below is a
description of my setup, please let me know if additional information is needed.
OS: Win98 - SE
Processor: AMD K6-2/350
RAM: 192 megs
Apache version: 1.3.20 (run as service)
PHP: 4.0.6 and 4.0.5 (with Zend Optimizer)
Enabled PHP extensions: php_bz2.dll, php_gd.dll, php_imap.dll, php_zlib.dll
Output Buffering: On
PHP-GTK: version 0.0.4
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11649&edit=1