Problem mit PHP und MYSQL

Azurel

Member
Hallo,

Ich habe drei PHP Versionen auf meinem Server, welche ich mittels Plesk GUI umschalten kann, pro Domain. Ich habe mir von allen jetzt mal die phpinfo() anzeigen lassen und sehe bei allen unterschiedliche MYSQL Versionen drin stehen.

PHP 5.3.27
mySQL Client API version: 5.5.33
mySQLi Client API version: 5.5.33

PHP 5.4.27
mySQL Client API version: 5.1.59
mySQLi Client API version: 5.1.59

PHP 5.5.5
mySQL Client API version: mysqlnd 5.0.11-dev - 20120503
mySQLi Client API version: mysqlnd 5.0.11-dev - 20120503

Die letzte PHP 5.5.5 Version habe ich eben per Hand compiliert. Wieso ist dort mySQLi nicht 5.5.33? Und warum ist bei PHP 5.4.27 eine andere MySQL Version?

Ich habe centOS6

Code:
# mysql -V
mysql  Ver 14.14 Distrib 5.5.33, for Linux (x86_64) using readline 5.1

# rpm -q mysql mysql-server mysql-devel
mysql-5.5.33-20.el6.art.x86_64
mysql-server-5.5.33-20.el6.art.x86_64
mysql-devel-5.5.33-20.el6.art.x86_64

# yum list mysql
mysql.x86_64   5.5.33-20.el6.art 
mysql.i686     5.5.33-20.el6.art

Mein config für make PHP 5.5.5:

./configure --with-libdir=lib64 --prefix=/usr/local/php-5.5.5 --with-config-file-path=/usr/local/php-5.5.5/etc --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-freetype-dir=/usr/local/php-5.5.5 --with-png-dir=/usr/local/php-5.5.5 --enable-gd-native-ttf --without-gdbm --with-iconv --with-jpeg-dir=/usr/local/php-5.5.5 --with-pcre-regex --with-zlib --with-libxml-dir=/usr/local/php-5.5.5 --enable-mbstring --enable-mbregex --with-gd --with-mysql=/usr --with-mysqli --with-pear=/usr/local/php-5.5.5/pear --with-mcrypt --without-pdo-sqlite --with-tidy --with-config-file-path=/usr/local/php-5.5.5/etc --enable-sockets

Er installiert so auch nur eine einzige Extension:
Installing shared extensions: /usr/local/php-5.5.5/lib/php/extensions/no-debug-non-zts-20121212/

Sieht hier eventuell jemand meinen Anfängerfehler?

EDIT: Weiß jemand, wo man die letzte Versionsnummer von "mysqlnd" findet?
 
Last edited by a moderator:
Back
Top