Re: PHP CGI Bug?
| From: | szii at sziisoft dot com | Date: | Mon, 05 Aug 2002 18:08:35 +0000 |
| Subject: | Re: PHP CGI Bug? | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20999@lists.php.net to get a copy of this message | ||
Nope. No apache Action calls and no AddTypes for .php.
I've removed the .php extension and even tried ".fff" to guarantee
that there's no double-dipping. It stilll happens.
blah.php
blah.cgi
blah
blah.fff
All produce the same result.
-Mike
----- Original Message -----
From: "Damian Harouff" <php-lists@cekkent.net>
To: <szii@sziisoft.com>
Cc: <php-db@lists.php.net>
Sent: Monday, August 05, 2002 11:08 AM
Subject: Re: [PHP-DB] PHP CGI Bug?
> 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