Topic: php-5.3.6 requires mysql-5.5?
Apparently the php-mysql-5.3.6 package forces an upgrade of the mysql server to 5.5? Is this intentional?
This will probably make these packages unusable for quite a few people.
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
![]() |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 7.4 is EOL - PHP 8.0.29 - PHP 8.1.20 - PHP 8.2.7 - PHP 8.3.0alpha1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → Open discussion → php-5.3.6 requires mysql-5.5?
Apparently the php-mysql-5.3.6 package forces an upgrade of the mysql server to 5.5? Is this intentional?
This will probably make these packages unusable for quite a few people.
No, the php-mysql package requires client library of MySQL 5.5 which can installed with
- compat-mysql55 in remi-test for those who want to keep an old MySQL version
- mysql-libs in remi for those who want the latest MySQL version
Indeed after installing the compat-mysql55 package first the php update no longer pulls in the new mysql. Thanks!
Hi, how exactly do you install the compat-mysql55 package?
Using:
yum install --enablerepo=remi-test compat-mysql55
Tries to install mysql 5.5 as well. E.g.
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Updating:
mysql-libs x86_64 5.5.12-1.el5.remi remi 1.1 M
Updating for dependencies:
mysql x86_64 5.5.12-1.el5.remi remi 7.4 M
mysql-server x86_64 5.5.12-1.el5.remi remi 12 M
php x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 1.4 M
php-cli x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 2.6 M
php-common x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 980 k
php-gd x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 210 k
php-ldap x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 58 k
php-mbstring x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 2.3 M
php-mysql x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 162 k
php-pdo x86_64 5.3.7-0.1.201105131630.el5.remi remi-test 119 k
Any hints?
try
yum install --disablerepo=remi --enablerepo=remi-test compat-mysql55
and post full output
Perfect. Thanks.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.sov.uk.goscomb.net
* base: mirror.sov.uk.goscomb.net
* epel: mirror01.th.ifl.net
* extras: mirror.sov.uk.goscomb.net
* remi-test: rpms.famillecollet.com
* updates: mirror.ukhost4u.com
remi-test | 2.5 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package compat-mysql55.x86_64 0:5.5.11-1.el5.remi set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================
Installing:
compat-mysql55 x86_64 5.5.11-1.el5.remi remi-test 748 k
Transaction Summary
======================================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 748 k
So I will be ok to install that package from remi-test and the main php update from remi?
yes.
(perhaps you will have to exclude mysql* from remi repository)
Many thanks.
Works perfectly:
yum install --disablerepo=remi --enablerepo=remi-test compat-mysql55
yum update php
(no need to disable anything in php update)
I had same issues but needed to exclude mysql to achieve the php update without mysql conflicts.
Downloaded the rpm, then:
# rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
then:
# yum -enablerepo=remi update php
then:
# yum install --disablerepo=remi --enablerepo=remi-test compat-mysql55
then:
# yum --enablerepo=remi update php-pear php-pdo php-mysql php-gd php-mbstring php-mcrypt php-xml php-dom --exclude=mysql*
Thanks Remi !
Remi's RPM repository - Forum → Open discussion → php-5.3.6 requires mysql-5.5?
Generated in 0.006 seconds (63% PHP - 37% DB) with 8 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.