PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Apache, Lighttpd, nginx, Cherokee
Post Reply
philipps.
Posts: 26
Joined: 2004-03-19 11:26
 

PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Post by philipps. »

Hallo, ich habe auf meinem Vserver unter Debian 3.0 Apache 1.3.26, PHP 4.3.4 und MySQL laufen, PHP 4.3.4 habe ich über apt-get installiert.

laut phpinfo ist mein php wie folgt configuriert :
'../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=php' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db2' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--enable-dbase' '--with-gettext' '--enable-mbstring' '--with-pcre-regex' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--enable-tokenizer' '--disable-xml' '--with-expat-dir=/usr' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-exec-dir=/usr/lib/php4/libexec' '--disable-static' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-mcrypt=shared,/usr' '--with-ming=shared,/usr' '--with-gmp=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--with-mm' '--with-mysql=shared' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-pgsql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-sybase-ct=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr'

jetzt habe ich aber versucht phpMyAdmin einzurichten und bekomme folgenden fehler :

cannot load MySQL extension,
please check PHP Configuration.

dies bedeutet angeblich das ich php ohne mysql configuriert hätte, habe ich aber ja nicht.

kann mir vieleicht jemand weiterhelfen ?

ciao philipp
arty
Userprojekt
Userprojekt
Posts: 729
Joined: 2002-06-12 10:11
Contact:
 

Re: PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Post by arty »

Hi,

dann installier noch MySQL-Support für PHP mit rein.

bye
arty
philipps.
Posts: 26
Joined: 2004-03-19 11:26
 

Re: PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Post by philipps. »

habe ich das denn nicht ?

'--with-mysql=shared' '--with-mysql-sock=/var/run/mysqld/mysqld.sock'

ciao philipp
cybermage
Posts: 158
Joined: 2002-12-10 22:10
Location: Ausgburg (Germany)
Contact:
 

Re: PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Post by cybermage »

wird die mysql.so in der php.ini geladen?
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Post by oxygen »

PhilippS. wrote:habe ich das denn nicht ?

'--with-mysql=shared' '--with-mysql-sock=/var/run/mysqld/mysqld.sock'

ciao philipp
Nein, das heißt mysql wurde als Modul gebaut.
apt-get install php4-mysql
philipps.
Posts: 26
Joined: 2004-03-19 11:26
 

Re: PHP 4.3.4 & MySQL Problem bei phpMyAdmin

Post by philipps. »

ok ich habe php4-mysql noch nachinstalliert jetzt funktionierts.

danke !
Post Reply