note 18086 added to function.exec

From: Date: Thu, 10 Jan 2002 03:14:38 +0000
Subject: note 18086 added to function.exec
Groups: php.notes 
Request: Send a blank email to php-notes+get-24608@lists.php.net to get a copy of this message
For 'unable to fork' errors, keep in mind that, in Windows, the new process doesn't know the paths to your executables. For example, you may have PERL in you PATH statement, but if you 'exec' a PERL script without providing the full path to the PERL program, your PHP script won't know how to handle the PERL script. This will return an error: exec("myperlscript.pl"); Correct format: exec("C:\perl\perl.exe c:\www\myperlscript.pl"); -- http://www.php.net/manual/en/function.exec.php http://master.php.net/manage/user-notes.php?action=edit+18086 http://master.php.net/manage/user-notes.php?action=delete+18086 http://master.php.net/manage/user-notes.php?action=reject+18086

« previous php.notes (#24608) next »