Hallo Forum,
wollte auf meinem Webserver php4 und php5 gleichzeitig nutzen.
Zum Webserver: Suse 9.0, apache2, php4 (4.3.3) als Modul installiert, php5 habe ich als CGI wie folgt installiert:
./configure --enable-memory-limit --enable-force-cgi-redirect \
--enable-track-vars --with-pcre-regex --with-mysql --without-sqlite \
--without-mm --enable-fastcgi --prefix=/usr/local/PHP5
Make
Make install
In httpd.conf habe ich folgendes zugefügt:
#php5 TEST
ScriptAlias /php/ "usr/local/PHP5/"
Action application/x-httpd-php5 "/php/php-cgi.exe"
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php5 .php5
Action application/x-httpd-php "/php/php-5.0.4"
Action application/x-httpd-php4 "/php4/php-4.3.3"
#PHP5 TEST ENDE
Also so weit so gut, aber
Wenn ich info.php ausführe (<?php phpinfo(); ?> funktioniert alles. Infos werden angezeigt (php Version 4.3.3)
Und wenn ich versuche info.php5 auszuführen, passiert folgendes:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
Kann mir jemand helfen?
Was muss noch gemacht werden?
Vielen Dank im Voraus
wollte auf meinem Webserver php4 und php5 gleichzeitig nutzen.
Zum Webserver: Suse 9.0, apache2, php4 (4.3.3) als Modul installiert, php5 habe ich als CGI wie folgt installiert:
./configure --enable-memory-limit --enable-force-cgi-redirect \
--enable-track-vars --with-pcre-regex --with-mysql --without-sqlite \
--without-mm --enable-fastcgi --prefix=/usr/local/PHP5
Make
Make install
In httpd.conf habe ich folgendes zugefügt:
#php5 TEST
ScriptAlias /php/ "usr/local/PHP5/"
Action application/x-httpd-php5 "/php/php-cgi.exe"
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php5 .php5
Action application/x-httpd-php "/php/php-5.0.4"
Action application/x-httpd-php4 "/php4/php-4.3.3"
#PHP5 TEST ENDE
Also so weit so gut, aber
Wenn ich info.php ausführe (<?php phpinfo(); ?> funktioniert alles. Infos werden angezeigt (php Version 4.3.3)
Und wenn ich versuche info.php5 auszuführen, passiert folgendes:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
Kann mir jemand helfen?
Was muss noch gemacht werden?
Vielen Dank im Voraus
Kommentar