PHP 4 cgi upgrade problem
| From: | Hrishi | Date: | Fri, 19 Jan 2001 16:12:23 +0000 |
| Subject: | PHP 4 cgi upgrade problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35618@lists.php.net to get a copy of this message | ||
Hello,
We have a problem with running php4 as the cgi handler for php requests.
Our setup was RH6.2/i586//Apache1.3.3(compiled locally) using PHP4.0.1pl2 as
cgi(compiled locally), with the .htaccess looking like:
<snip>
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php /cgi-bin/php4
Action application/x-httpd-php-source /cgi-bin/php4
</snip>
when we installed 4.0.3pl1 executable(with all the same options), all the php
scripts say only one thing:
Parse error: parse error yada yadda in <b>/cgi-bin/php</b>
we replaced the 4.0.1pl2 executable
(the libraries for 4.0.1 & 4.0.3 are in seperate directories, and both are
configured separately).
everything works as before with the older version.
i'm stumped.
can anyone help?
TIA,
Hrishi