PHP 4.0 Bug #7287: "exec() or die", dies on success

From: Date: Tue, 17 Oct 2000 16:37:40 +0000
Subject: PHP 4.0 Bug #7287: "exec() or die", dies on success
Groups: php.dev 
Request: Send a blank email to php-dev+get-35280@lists.php.net to get a copy of this message
From: seth@the-hub.com Operating system: linux PHP version: 4.0.3pl1 PHP Bug Type: *Function Specific Bug description: "exec() or die", dies on success i wrote a script with something like the following: exec("touch somefile") or die("couldnt create file!"); and it worked fine in php 4.0.1 but when i upgraded to 4.0.2 the exec kept dying even though there was no error. when i upgraded to 4.0.3 it still did not work. i've also tried replacing exec() with a system() call and that did not help. note: permissions have not changed on any dirs so that's not the problem, and exec doesn't return any errors (or any output at all for that matter) into the error array or anywhere else -- Edit Bug report at: http://bugs.php.net/?id=7287&edit=1

« previous php.dev (#35280) next »