Problem mit PHP (cli) nach Upgrade auf PHP5

Saik

Newbie
Registriert
Apr. 2004
Beiträge
5
Hallo,

ich hätte da mal ein kleines Problem.

ich habe auf meinem Server (Linux Suse 9.0) zu Hause PHP5 neu installiert (vorher PHP4). Wenn ich nun php von der console aus starte erhalte ich folgende Fehlermeldung:

PHP Warning: PHP Startup: ôK@ÐÿJ@: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20041030, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - /usr/lib/php/extensions/mysql.so: undefined symbol: OnUpdateInt in Unknown on line 0
PHP Warning: PHP Startup: ïK@°øJ@: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20041030, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ÖôJ@@ðJ@: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20041030, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
[...]

Woran liegt das und was kann ich tun, damit diese Meldungen nicht mehr auftreten? Ich nehme mal an, dass es um die Extensions geht? Müssen diese alle neu Kompiliert werden? Wenn ja wie? Sorry ich bin in Sachen Linux noch stark am lernen. ;)

Vielen Dank schon mal im Voraus für jegliche Hilfe.
 
den meldungen nach zu urteilen hast du php, nicht aber die module aktualisiert. um php mit apache und mysql zu nutzen werden diese module aber gebraucht. wenn du ein rpm paket von php5 eingespielt hast gibt es sicherlich auch die module als pakete. wie man die jedoch aus dem quelltext erstellt weiss ich leider nicht.
 
Also mit dem Apachen scheint es auch ohne Probleme zu funktionieren. Zumindest gehen alle Scripte die auch vorher gingen.

Ich muss mal die error.logs durchforsten, ob da auch die Probleme auftauchen. PHP habe ich nicht als rpm installiert sind über die Sourcen.

Wenn jetzt jemand wüsste wie ich die Module aktualisieren kann wäre das super. :confused_alt:
 
Zurück
Oben