WinXP+Apache2+php4+php5=almost true
| From: | �ystein H�land | Date: | Thu, 13 Nov 2003 23:16:51 +0000 |
| Subject: | WinXP+Apache2+php4+php5=almost true | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169938@lists.php.net to get a copy of this message | ||
I had no problem installing php4 as sapi module and php5 as cgi executeable.
The server starts with no error messages. BUT, when I try opening a file
(phpinfo.php5 with content <?php phpinfo(); ?> the server return a 500
Internal Server Error.
Have the following lines added to httpd.conf
LoadModule php4_module "D:/php/sapi/php4apache2.dll"
ScriptAlias /php5/ "D:/php5/"
Action application/x-httpd-php5 /php5/php.exe
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php5 .php5