Page 1 of 1

without-mysql

Posted: 2006-10-26 13:17
by radon
Hallo,

hab dort ein Problem mein PHP läuft mit without-mysql seit dem Plesk Update, nun bin ich am suchen wie ich es wieder zu with-mysql bekomme.

Hätte da jemand eine Lösung, es handelt sich um eine SuSe Kiste mit Plesk.

Gruß
Radon

Re: without-mysql

Posted: 2006-10-26 13:24
by sledge0303
Plesk installiert alle Pakete mit Abhängigkeiten, auch php mit mysql Support. Siehst doch daran, wenn auf das Plesk GUI einloggen willst und zB E-Mail Accounts erstellst. Ohne PHP mit MySQL würde es nicht gehen.

Re: without-mysql

Posted: 2006-10-26 13:27
by radon
Hier sieht man das es aber ohne ist. Und der Shop läuft auch so nicht.

Re: without-mysql

Posted: 2006-10-26 13:30
by sledge0303
Schau mal in deine phpinfo... mysql ist drin. Evtl. hat Plesk irgendwelche Einstellungen überschrieben...

Re: without-mysql

Posted: 2006-10-26 13:37
by radon
Wie meinst du das jetzt genau?

Aber steht bei Configure Command, --without-mysql aber da muss doch --with-mysql hin.

Re: without-mysql

Posted: 2006-10-26 13:40
by sledge0303
Radon wrote:Ist drauf. Es lief ja alles vor dem Plesk Update.
Ich selber arbeite nicht mit Plesk, habe hier aber öfters schon gelesen das nach updates dieser "Megageilen" :roll: Software etwas in die Hosen gegangen ist. Was steht den konkret in den Errorlogs drin?
Meistens wird man dort fündig wenn was nicht stimmt ;)

Wie meinst du das jetzt genau?
Scroll mal deine phpinfo weiter runter bis zum M, wie mysql, kommst...

Re: without-mysql

Posted: 2006-10-26 13:42
by radon
Ja aber das komische ist das im Configure Command, --without-mysql steht aber da muss doch --with-mysql hin

Re: without-mysql

Posted: 2006-10-26 13:44
by sledge0303
Radon wrote:Ja aber das komische ist das im Configure Command, --without-mysql steht aber da muss doch --with-mysql hin
Was oben drin steht ist irrelevant. Du installierst ja ein PHP in Grundform, erstellt ohne Module wie MySQL-PgSQL usw, nachträglich die Module die du brauchst. Nur weil ein MySQL nachinstalliert wurde, steht nicht automatisch --with-mysql drin.

Re: without-mysql

Posted: 2006-10-26 13:46
by radon
Das ist aber komische das alles was mit mysql zu tun hat nicht auf den Server Connection kann da kommt immer: Warning: mysql_connect(): Access denied for user: 'xtcomm@localhost' (Using password: YES) in /home/httpd/vhosts/httpdocs/xt/inc/xtc_db_connect.inc.php on line 24
Unable to connect to database server!

Obwohl ich die Daten zum Mysql Conncten richtig eingetragen habe.

Re: without-mysql

Posted: 2006-10-26 13:49
by radon
Ah es geht nun, nur in der log steht:

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/gd.so' - /usr/lib/php/extensions/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Oct 26 13:35:53 2006] [notice] Apache/2.0.49 (Linux/SuSE) configured -- resuming normal operations

Da fehlt wohl ein Modul

Re: without-mysql

Posted: 2006-10-26 13:49
by sledge0303
register_globals muss für GD auf "On" sein.

Re: without-mysql

Posted: 2006-10-26 13:51
by radon
Das geht jetzt soweit, hab jetzt mur oben den Fehler gepostet der in der Log angezeigt wird.

Re: without-mysql

Posted: 2006-10-26 13:52
by sledge0303
register_globals auf "On"?

Re: without-mysql

Posted: 2006-10-26 13:54
by radon
Die gd.so ist garnicht in dem Verzeichnis vorhanden.

Re: without-mysql

Posted: 2006-10-26 14:01
by sledge0303
hmmm, suche mal im yast nach php4-gd

Re: without-mysql

Posted: 2006-10-26 14:06
by radon
Es geht jetzt danke für deine Hilfe

Re: without-mysql

Posted: 2006-10-26 14:42
by Roger Wilco

Code: Select all

yast -i php4-session
Und wenn du noch mehr solche Problemchen hast: Schau bitte selbst erstmal in die Paketverwaltung deiner Distribution...