Bug #6542 Updated: exec() and system() cannot fork
| From: | sniper@php.net | Date: | Fri, 27 Apr 2001 22:46:41 +0000 |
| Subject: | Bug #6542 Updated: exec() and system() cannot fork | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52629@lists.php.net to get a copy of this message | ||
ID: 6542
Updated by: sniper
Reported By: dpfender@innova.net
Old-Status: Duplicate
Status: Closed
Bug Type: *General Issues
PHP Version: 4.0.2
Assigned To:
Comments:
Fixed in CVS. Wait for PHP 4.0.6
Previous Comments:
---------------------------------------------------------------------------
[2000-09-06 13:04:47] stas@php.net
same as 4761
---------------------------------------------------------------------------
[2000-09-04 22:15:04] dpfender@innova.net
Both exec() and system() were working in 4.0.1pl2 but now both fail with the message
Warning: Unable to fork [zapdir "test_dir1gallery_info"] in
E:Inetpubwwwrootnimagestordir_testdel_dirlp_test.php on line 222
This occurs with either an executable file (.exe) or with a "builtin" like the del command
that is part of the command interpreter.
I was using exec() to execute a directory removing program because php rmdir() does not work
properly.
Warning: RmDir failed (No such file or directory) in
E:Inetpubwwwrootnimagestordir_testdel_dir_test.php on line 201
The directory does exist no matter what the error message says.
Now nothing works for removing directories.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6542&edit=2