Hi,
i'm trying to install php4 and php5 on same apache but it doesn't work. Can anyoane help me? Thanks.
i have php4 installed in c:\php4 and php5 in c:\php5
if it's possible to install both as module it will be great.
i tryed the following apache settings but it didnt't worked (i saw on a forum)
#PHP4 - module
LoadModule php4_module "c:\php\sapi\php4apache2.dll"
AddType application/x-httpd-php .php
Listen 127.0.0.1:83
<virtualhost 127.0.0.1:83>
ServerName localhost
ServerAdmin me@localhost
DirectoryIndex index.html index.php
ErrorLog c:/tmp/php5.error.log
<location />
<limit CONNECT>
Order allow,deny
Allow from all
</limit>
</location>
DocumentRoot "d:/htdocs/php5"
ScriptAlias /cgi-bin/ "c:/php5/"
Action php5-script /cgi-bin/php-cgi.exe
AddHandler php5-script .php .html
SetEnv PHPRC c:/php5
ScriptAlias /php5/ "c:/php5/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php5/php-cgi.exe"
</virtualhost>