Hi there,
I'm trying to install the MySQL driver for PDO, so I did that :
pkg_add php5-pdo_mysql
I had a few warnings :
As I'm not the one who installed this server and as I don't know anything avout FreeBsd, I'm kind of lost...
AT the end of my php.ini file, there is "extension=pdo_mysql.so" which mean the installation succeed, but if try a "php -i" I get this error :
Can anybody help me ?
Thanks !
I'm trying to install the MySQL driver for PDO, so I did that :
pkg_add php5-pdo_mysql
I had a few warnings :
Code:
[root@server]/usr/local/bin(191): pkg_add -r php5-pdo_mysql
Fetching ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/php5-pdo_mysql.tbz... Done.
pkg_add: warning: package 'php5-pdo_mysql-5.2.10' requires 'pkg-config-0.23_1', but 'pkg-config-0.22_1' is installed
pkg_add: warning: package 'php5-pdo_mysql-5.2.10' requires 'mysql-client-5.0.85', but 'mysql-client-5.0.45_1' is installed
pkg_add: warning: package 'php5-pdo_mysql-5.2.10' requires 'libiconv-1.13.1', but 'libiconv-1.11_1' is installed
pkg_add: warning: package 'php5-pdo_mysql-5.2.10' requires 'libxml2-2.7.3_1', but 'libxml2-2.6.30' is installed
pkg_add: warning: package 'php5-pdo_mysql-5.2.10' requires 'php5-5.2.10', but 'php5-5.2.5' is installed
pkg_add: warning: package 'php5-pdo_mysql-5.2.10' requires 'php5-pdo-5.2.10', but 'php5-pdo-5.2.5' is installed
As I'm not the one who installed this server and as I don't know anything avout FreeBsd, I'm kind of lost...
AT the end of my php.ini file, there is "extension=pdo_mysql.so" which mean the installation succeed, but if try a "php -i" I get this error :
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/pdo_mysql.so' - Shared object "libz.so.5" not found, required by "pdo_mysql.so" in Unknown on line 0
Can anybody help me ?
Thanks !