Seite 1 von 1

Umstieg von php5 auf php4

Verfasst: 02.06.2005 17:05
von forsterbub
Hi *,

ich hab einen Apache2 Server mit php5 laufen sowie die letzte Version von phpBB, geht alles wunderbar... nur will ich jetzt Aufgrund eines FH Projektes php4 einsetzten, also hab ich in der httpd.conf die Werte auf:

LoadModule php4_module "d:/php4/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "d:/php4"

anstelle von

#LoadModule php5_module "d:/php5/php5apache2.dll"
#AddType application/x-httpd-php .php
#PHPIniDir "d:/php5"

gesetzt, sowie die PATH Variable angepasst. php und mysql funktionen auch, nur wenn ich phpbb aufrufe... bekomm ich:

phpBB : Critical Error
Could not connect to the database

und im error.log vom Apache steht:

[client 84.166.137.90] PHP Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\\www\\forum\\db\\mysql4.php on line 48
[client 84.166.137.90] PHP Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in D:\\www\\forum\\db\\mysql4.php on line 330
[client 84.166.137.90] PHP Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in D:\\www\\forum\\db\\mysql4.php on line 331

hab schon im Netz rumgesucht, aber nichts brauchbares gefunden, wenn ich die Variablen wieder auf PHP5 setzte gehts wieder?!

hat jemand eine idee??

TIA

Tim

Verfasst: 02.06.2005 19:08
von Christian_W
KB:could_not_connect
Vermutlich wird das MySQL-Modul nicht geladen.

Gruß Christian