Topic: Problème de dépendance et pas d'accès à MySQL via PHP après install
Bonjour,
Après l'installation fraiche de Centos 6.2 64 bits, nous avons installé les dernières versions de php 5.4 .1 et de mysql 5.5. 23 à partir de Remi, le module php_mysql n'existe pas, je ne peux pas accéder aux bases de données MySQL à partir de php, des problèmes de dépendances; voilà les messages d'erreurs :
Package mysql-5.5.23-1.el6.remi.x86_64 already installed and latest version
Package mysql-server-5.5.23-1.el6.remi.x86_64 already installed and latest version
Package httpd-2.2.15-15.el6.centos.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.5.0-1.el6.remi will be installed
--> Processing Dependency: php-mysql >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.remi .noarch
--> Processing Dependency: php-mcrypt >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.remi .noarch
--> Processing Dependency: php-mbstring >= 5.2.0 for package: phpMyAdmin-3.5.0-1.el6.remi .noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.11-1.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.11-1.el6.remi for package: php-mbstring-5.3.11-1.el6.remi.x86_64
---> Package php-mcrypt.x86_64 0:5.3.11-1.el6.remi will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.11-1.el6.remi for package: php-mcrypt-5.3.11-1.el6.remi.x86_64
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.3.11-1.el6.remi.x86_64
---> Package php-mysql.x86_64 0:5.3.11-1.el6.remi will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.3.11-1.el6.remi for package: php-mysql-5.3.11-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-mbstring-5.3.11-1.el6.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.3.11-1.el6.remi
Installed: php-common-5.4.1-1.el6.remi.x86_64 (@remi-test)
php-common(x86-64) = 5.4.1-1.el6.remi
Available: php-common-5.3.3-3.el6_1.3.x86_64 (base)
php-common(x86-64) = 5.3.3-3.el6_1.3
Available: php-common-5.3.3-3.el6_2.5.x86_64 (updates)
php-common(x86-64) = 5.3.3-3.el6_2.5
Available: php-common-5.3.3-3.el6_2.6.x86_64 (updates)
php-common(x86-64) = 5.3.3-3.el6_2.6
Available: php-common-5.3.10-2.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.3.10-2.el6.remi
Available: php-common-5.3.11-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.3.11-1.el6.remi
Error: Package: php-mcrypt-5.3.11-1.el6.remi.x86_64 (remi)
Requires: php-common(x86-64) = 5.3.11-1.el6.remi
Installed: php-common-5.4.1-1.el6.remi.x86_64 (@remi-test)
php-common(x86-64) = 5.4.1-1.el6.remi
Available: php-common-5.3.3-3.el6_1.3.x86_64 (base)
php-common(x86-64) = 5.3.3-3.el6_1.3
Available: php-common-5.3.3-3.el6_2.5.x86_64 (updates)
php-common(x86-64) = 5.3.3-3.el6_2.5
Available: php-common-5.3.3-3.el6_2.6.x86_64 (updates)
php-common(x86-64) = 5.3.3-3.el6_2.6
Available: php-common-5.3.10-2.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.3.10-2.el6.remi
Available: php-common-5.3.11-1.el6.remi.x86_64 (remi)
php-common(x86-64) = 5.3.11-1.el6.remi
Error: Package: php-mysql-5.3.11-1.el6.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.3.11-1.el6.remi
Installed: php-pdo-5.4.1-1.el6.remi.x86_64 (@remi-test)
php-pdo(x86-64) = 5.4.1-1.el6.remi
Available: php-pdo-5.3.3-3.el6_1.3.x86_64 (base)
php-pdo(x86-64) = 5.3.3-3.el6_1.3
Available: php-pdo-5.3.3-3.el6_2.5.x86_64 (updates)
php-pdo(x86-64) = 5.3.3-3.el6_2.5
Available: php-pdo-5.3.3-3.el6_2.6.x86_64 (updates)
php-pdo(x86-64) = 5.3.3-3.el6_2.6
Available: php-pdo-5.3.10-2.el6.remi.x86_64 (remi)
php-pdo(x86-64) = 5.3.10-2.el6.remi
Available: php-pdo-5.3.11-1.el6.remi.x86_64 (remi)
php-pdo(x86-64) = 5.3.11-1.el6.remi
Error: Package: php-mcrypt-5.3.11-1.el6.remi.x86_64 (remi)
Requires: libmcrypt.so.4()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Y a t il une piste pour que j'aura la connexion à MySQL via php tout en gardant les toutes dernières version de php et mysql?
merci d'avance