cgi execution w/php failing
| From: | Clif Wieden | Date: | Sun, 11 Feb 2001 15:01:15 +0000 |
| Subject: | cgi execution w/php failing | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39124@lists.php.net to get a copy of this message | ||
Hi,
I've read through the archives and still must be missing something. I
need to execute a cgi script from php. This seems fairly trivial, but I
can't get it to work.
the cgi script is clean -- executes from the command line without issue
and is 755
from php the follwing is used:
chdir("../../cgibin");
if(is_executable("some.cgi"))
virtual("some.cgi");
else
echo "Not executable";
some.cgi is found and is executable but the following occurs when
attemping to execute via virtual():
Warning: Unable to include 'some.cgi' - request execution failed in
[path to php page]
Any help would be greatly appreciated,
clif