Re: PHP CGI Bug?
| From: | Damian Harouff | Date: | Mon, 05 Aug 2002 18:08:23 +0000 |
| Subject: | Re: PHP CGI Bug? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20998@lists.php.net to get a copy of this message | ||
The file is .php, and your configuration is set up to correctly
execute .php as a cgi, yes?
ssc> When running 4.1.2 as a CGI, I see the following...
ssc> #!/var/bin/php
ssc> <?php
ssc> echo "hi";
?>>
ssc> outputs
ssc> #!var/bin/phphi
ssc> When running the same script from the command line it outputs
ssc> hi
ssc> If I remove the #!/var/bin/php line (required to run as a CGI
ssc> script) then the script fails so it's not a problem of having two
ssc> processors loaded.
ssc> I've searched around and found a few people with the problem
ssc> but no answers. (suEXEC is on and working correctly)
ssc> -Mike