Upgrade 4.3.1 -> 4.3.2: CGI does not work anymore
| From: | Sven Flossmann | Date: | Sun, 01 Jun 2003 11:55:32 +0000 |
| Subject: | Upgrade 4.3.1 -> 4.3.2: CGI does not work anymore | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10990@lists.php.net to get a copy of this message | ||
Hi,
we want to upgrade our PHP from 4.3.1 to 4.3.2 but now we have an problem.
We are using apache 2.0.46 with mod_php4. For some customers we are using
CGI-Version of PHP so that userid can be switched to the customers userid.
This works fine, but if php 4.3.2 module is loaded to apache, CGI-PHP does
not work anymore. All PHP-Scripts are executed from that module only.
I looked at changes file of php 4.3.2, and there is to see, that "new
Apache 2.0 SAPI module" was added. I think, this could be the problem.
At now we are using following config:
Global:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .phtml .php3
if we want to use cgi-version of php we are using following code snippet in
VirtualHost-Section:
Action php3-script /cgi-bin/php
Action php-script /cgi-bin/php
AddHandler php3-script .php3
AddHandler php-script .php
Does anyone has a solution to our problem?
May be disabling modules for virtualhosts?
Thanks,
regards Sven