PHP4 (oder PHP5) in einem Verzeichnis laufen lassen

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

PHP4 (oder PHP5) in einem Verzeichnis laufen lassen

Postby Blacky1707 » 17. January 2008 17:38

Hallo,

ist es möglich ein Verzeichnis per .htaccess so zu konfigurieren, dass alles was darin läuft mit php4 ausgeführt wird OHNE die Dateiendung zu änern?

Ich stelle mir vor, dass ich in der Webserver-Root ein Verzeichnis PHP4 und ein Verzeichnis PHP5 habe.

Hat jemand damit Erfahrung? Alle meine bisherigen Versuche haben nicht funktioniert....


ScriptAlias /php-cgi/ "D:\WEBSERVER\xampp\php\php4"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php-cgi/php.exe"
Blacky1707
 
Posts: 5
Joined: 05. February 2004 18:41

Postby Blacky1707 » 18. January 2008 17:11

Hallo,

ich habe nun nochmal die Datei httpd-xampp.conf bearbeitet...

<Directory "S:/WebserverRoot/_php4">
LoadModule php5_module "D:/WEBSERVER/xampp/apache/bin/php5apache2.dll"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt
</Directory>


Leider führt auch das dazu, dass es nicht geht, da verschiedene DLLs dann nicht geladen werden können.....

PHP Warning: Unknown(): Unable to load dynamic library 'D:\\WEBSERVER\\xampp\\php\\ext\\php_sqlite.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: Unknown(): (null): Unable to initialize module\nModule compiled with module API=20060613, debug=0, thread-safety=1\nPHP compiled with module API=20020429, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: Unknown(): (null): Unable to initialize module\nModule compiled with module API=20060613, debug=0, thread-safety=1\nPHP compiled with module API=20020429, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: Unknown(): (null): Unable to initialize module\nModule compiled with module API=20060613, debug=0, thread-safety=1\nPHP compiled with module API=20020429, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: Unknown(): (null): Unable to initialize module\nModule compiled with module API=20060613, debug=0, thread-safety=1\nPHP compiled with module API=20020429, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
PHP Warning: Unknown(): (null): Unable to initialize module\nModule compiled with module API=20060613, debug=0, thread-safety=1\nPHP compiled with module API=20020429, debug=0, thread-safety=1\nThese options need to match\n in Unknown on line 0
[Fri Jan 18 17:01:15 2008] [warn] pid file D:/WEBSERVER/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

Gibt es denn da keine andere Möglichkeit?
Blacky1707
 
Posts: 5
Joined: 05. February 2004 18:41


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 23 guests