Como você instala o php-mysql no CentOS?

0

se eu tentar instalar o php-mysql, recebo o seguinte erro ... não sei como recuperar dele para ter o MySQL e o módulo PHP MySQL em funcionamento

[12:51]~> yum install php-mysql
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * addons: mirror.rocketinternet.net
 * base: mirror.san.fastserv.com
 * epel: mirrors.kernel.org
 * extras: mirror.nic.uoregon.edu
 * ius: www.applesauceman.com
 * updates: mirror.5ninesolutions.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
---> Package php-common.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_5.4.x86_64 from updates has depsolving problems
  --> mysql conflicts with MySQL-server-community
Error: mysql conflicts with MySQL-server-community
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
    
por qodeninja 24.02.2011 / 21:54

1 resposta

0

Você precisará instalar o pacote de bibliotecas de compatibilidade compartilhadas do mesmo local em que obteve o pacote do servidor primeiro.

    
por 24.02.2011 / 22:02