CENTOS 6 - How to install php-mysql when php-common @remi is present?

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I am having troubles adding mysql support for my php installation, this installation was made using a ready to use-package that came with our VPS.

This is my php.info: http://snake.quetzalcoatech.com/info.php

I am trying to install php mysql using:

yum install php-mysql

And get this output:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.serveraxis.net
 * extras: mirror.fdcservers.net
 * updates: bay.uchicago.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.3.3-14.el6_3 will be installed
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-mysql-5.3.3-14.el6_3.x86_64
--> Finished Dependency Resolution
Error: Package: php-mysql-5.3.3-14.el6_3.x86_64 (updates)
           Requires: php-common = 5.3.3-14.el6_3
           Installed: php-common-5.3.17-2.el6.remi.x86_64 (@remi)
               php-common = 5.3.17-2.el6.remi
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (base)
               php-common = 5.3.3-3.el6_2.8
           Available: php-common-5.3.3-14.el6_3.x86_64 (updates)
               php-common = 5.3.3-14.el6_3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I am a noob using Linux, so could you tell me which command should I use to install a compatible php-mysql module?

Thank you so much!

profilepic.png
manpreet 2 years ago

Try removing all remi php packages, disable remi repository and install the default centos 6 php 5.3.3 packages.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.