Mailinglisten-Archive |
Hallo Dirk,
habe jetzt hier folgendes in einer .htaccess ausprobiert:
<.htaccess>
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 "/php4/php.exe"
AddHandler php4-script .php
Action php4-script "/php4/php.exe"
</.htaccess>
danach werden alle *.php mit PHP4 ausgefuehrt.
Kommentiere ich die Zeilen aus, wird wieder PHP5 verwendet.
Allerdings muss dazu noch gesagt werden, dass in der zentralen
cgi.conf schon ein ScriptAlias vereinbart wird:
ScriptAlias /php4/ "C:/Programme/myTools/php442/"
Die Vereinbarung des Alias in der localen .htaccess ist:
Error 500 - ScriptAlias not allowed here,
m. b. G. Norbert
------------------
mobil 0177-1741686
------------------
e.o.m.
php::bar PHP Wiki - Listenarchive