an unknown filter was not added:PHP
| From: | (Ladan) | Date: | Fri, 08 Nov 2002 04:37:33 +0000 |
| Subject: | an unknown filter was not added:PHP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16804@lists.php.net to get a copy of this message | ||
I am unable to execute my c++ program from within PHP when it runs as a
cgi in Apache.
I am able to run:
$cmd="dir c:\abc"
system ($cmd, $errCode);
and see the content of the directory, but I don't seem to
be able to run a simple hello.exe file.
$cmd = "c:\abc\hello.exe";
system ($cmd, $errCode);
The errCode always comes back with 128. What does 128 mean?
Here is some info on my setup.
OS: Windows XP
Server: Apache 2.0.43 (win32)
PHP 4
I am running PHP as a CGI
Whenever I go to the page that tries to execute hello.exe, Apache
logs the following error in error.log:
an unknown filter was not added: PHP
I am able to execute my c++ program (hello.exe) from this .php file
just fine if I use the PHP cli.
I appreciate any help.