Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache mit PHP und MySQL / Probleme mit phpmyadmin
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Wed Feb 19, 2003 9:04 pm    Post subject: Apache mit PHP und MySQL / Probleme mit phpmyadmin Reply with quote

Hallo,

Habe Apache 1.3.27 zusammen mit php_mod und MySQL 3.23.54 installiert. Apache läuft, und PHP funktioniert auch ( phpinfo(); funktioniert ). Wenn ich jetzt aber das ebenfalls installierte phpmyadmin aufrufen möchte kommt diese Meldung :

Code:

Die MySQL-Erweiterung konnte nicht geladen werden.
Bitte überprüfen Sie Ihre PHP-Konfiguration!


Ich habe leider nun keine Ahnung woran das liegt. Apache und MySQL laufen beide.

Danke für eure Hilfe

Stefan
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Wed Feb 19, 2003 9:15 pm    Post subject: Bekanntes Problem Reply with quote

Du solltest erstmal in deiner make.conf etwas wie USE="mysql apache php mod_php" stehen haben.
Danach sollte du ein emerge -u php mod_php (bzw php und mod_php neuinstalliern) reichen um php mysqlfähig zu machen.
Wichtig ist, das mysql vor php installiert wird.
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Wed Feb 19, 2003 9:33 pm    Post subject: hilft nicht Reply with quote

Das ist es leider nicht. Die USE-Flags sind richtig gesetzt und MySQL wurde auch vor PHP / mod_php installiert.
:(
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Wed Feb 19, 2003 9:38 pm    Post subject: Thread Reply with quote

Vielleicht findest du in diesen Thread etwas was dir weiterhilft.
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Wed Feb 19, 2003 9:48 pm    Post subject: Hilft mir leider nicht weiter Reply with quote

Das Hilft mir leider nicht weiter, aber danke.

Ich glaube ich muß auch noch mal klarstellen das PHP funktioniert.
Ich kann also reine PHP - Seiten auch ausführen, nur fehlt halt noch was für die MySQL DB.
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Thu Feb 20, 2003 8:40 am    Post subject: emerge Reply with quote

Was gibt eine emerge -pv php bzw eine emerge -pv mod_php aus?
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Thu Feb 20, 2003 11:10 am    Post subject: Nichts besonderes Reply with quote

Das gibt nur aus das beide Packete jeweils Installiert sind und das ein neues emerge nur die Packete (R) reinstallieren würde.
Back to top
View user's profile Send private message
hopfe
Guru
Guru


Joined: 22 Oct 2002
Posts: 456
Location: Frankfurt Main oder Aachen

PostPosted: Thu Feb 20, 2003 12:27 pm    Post subject: Reply with quote

Wann hast du das letzte Update für dein Portage system gemacht,
wenn ich emerge -pv mod_php eingebe (das "v" ist wichtig) bekomme ich folgendes Ergebnis

Code:
[ebuild     R] dev-php/mod_php-4.3.0-r2 +png -apache2 +truetype -postgres -tiff +libwww +nls +jpeg +ssl -oci8 +mysql +X +gdbm -curl -imap +xml2 +xml -cjk +pdflib +qt +snmp +crypt +flash +odbc +ldap +berkdb -freetds -firebird +pam


Sollte das nicht klappen würde ich dir eine emerge sync und ein danach ein update von portage,php und mod_php vorschlagen
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Thu Feb 20, 2003 1:52 pm    Post subject: Reply with quote

Oh,

habe das jetzt noch einmal eingegeben und habe eine ähnliche Ausgabe wie du. Vor allem +mysql ist vorhanden.
Back to top
View user's profile Send private message
dalu
Guru
Guru


Joined: 20 Jan 2003
Posts: 530

PostPosted: Thu Feb 20, 2003 2:35 pm    Post subject: Reply with quote

lade dir doch einfach jeweils die sources runter
.configure die mit den entsprechenden einstellungen und make, make install
dann kannst du genau einstellen was du willst und was nicht, dauert zwar etwas länger , aber so hast du die volle kontrolle über die optionen

my2c
Back to top
View user's profile Send private message
sebgarden
Guru
Guru


Joined: 21 Dec 2002
Posts: 353

PostPosted: Wed Mar 05, 2003 7:06 am    Post subject: Reply with quote

Hallo allerseits,

ich habe eine andere Frage hier uber phpmyadmin: apache2, mysql4, php4 habe ich gut installiert aber wenn ich mich mit meinem brower einloge ... kann ich es einfach nicht, obwohl ich root bin und ich controluser und controlpass in den File config.inc.php konfiguriert habe, damit ich mit http phphmyadmin verwalten kann.

Help ! Kann jemand mir helfen ?

Mit freundlichen Gruessen
Sébastien.
Back to top
View user's profile Send private message
sebgarden
Guru
Guru


Joined: 21 Dec 2002
Posts: 353

PostPosted: Wed Mar 05, 2003 4:25 pm    Post subject: Reply with quote

Hallo,

Wenn ich es versuche, die folgende Seite zu visualisieren,
http://mysite.com/phpmyadmin/phpinfo.php
der Browser will einfach den File einspeichern oder mit irgendwelchem Programm offnen. Also php funktionniert nicht ! Wie ist moglich, ich habe eben Apache mit USE variablen wie mod_php wiederkompiliert . Ich weiss gar nicht wo mein Fehler liegt.

Gruss,
Sébastien.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum