PHP 4.0 Bug #6542 Updated: exec() and system() cannot fork

From: Date: Wed, 06 Sep 2000 17:04:47 +0000
Subject: PHP 4.0 Bug #6542 Updated: exec() and system() cannot fork
Groups: php.dev 
Request: Send a blank email to php-dev+get-32409@lists.php.net to get a copy of this message
ID: 6542 Updated by: stas Reported By: dpfender@innova.net Status: Duplicate Bug Type: *General Issues Assigned To: Comments: same as 4761 Previous Comments: [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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6542

« previous php.dev (#32409) next »