note 18086 deleted from function.exec by vincent
| From: | vincent@php.net | Date: | Wed, 10 Sep 2003 18:59:39 +0000 |
| Subject: | note 18086 deleted from function.exec by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55998@lists.php.net to get a copy of this message | ||
Note Submitter: robsnc@excite.com
----
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");