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.

Re: php-5.3.6 requires mysql-5.5?

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

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-5.3.6 requires mysql-5.5?

Indeed after installing the compat-mysql55 package first the php update no longer pulls in the new mysql. Thanks!

Re: php-5.3.6 requires mysql-5.5?

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?

Re: php-5.3.6 requires mysql-5.5?

try

yum install --disablerepo=remi --enablerepo=remi-test compat-mysql55

and post full output

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-5.3.6 requires mysql-5.5?

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?

Re: php-5.3.6 requires mysql-5.5?

yes.

(perhaps you will have to exclude mysql* from remi repository)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-5.3.6 requires mysql-5.5?

Many thanks.

Works perfectly:

yum install --disablerepo=remi --enablerepo=remi-test compat-mysql55
yum update php

(no need to disable anything in php update)

Re: php-5.3.6 requires mysql-5.5?

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: php-5.3.6 requires mysql-5.5?

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 !