Unable to fork - Problem with exec(), system()
| From: | Joy Winter | Date: | Mon, 05 Jun 2000 13:10:13 +0000 |
| Subject: | Unable to fork - Problem with exec(), system() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-226@lists.php.net to get a copy of this message | ||
hi all,
i installed php4 on win98 and PWS and it works fine. But the system() and
exec() don´t work with the webserver. I downloaded php_gd.dll and zlib.dll
and set the right path to the extensions in php.ini. I tried it on the
command line and there it works but the webserver always output an error
like:
Warning: Unable to fork [E:\lame\lame.exe] in
E:\Entwicklung\PHP-Test\systemcmd.php4 on line 14
my code in the php-script is an simple:
<?
exec ("E:\\lame\\lame.exe");
?>
Maybe its because PWS or has someone a idea??