Topic: PHP Upgrade

Hi Remi,
I have a question. now I'm running a web server centos 5.4 with php 5.1.6.
(clipshare and mediashare video site)
This is my question. When I upgrade my php (5.3.1)
it work with my video site? (ffmpeg and other modules are support with php 5.3.1)

thanks
Tamil

Re: PHP Upgrade

Hi Remi,
I got this error message


Transaction Check Error:
  file /etc/my.cnf from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file from package mysql-5.0.77
-4.el5_4.2.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fro
m package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fro
m package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fro
m package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with f
ile from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with fil
e from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with fil
e from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file fr
om package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file f
rom package mysql-5.0.77-4.el5_4.2.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.45-1.el5.remi.i386 conflicts with file
from package mysql-5.0.77-4.el5_4.2.i386

Error Summary
-------------

[root@localhost ~]# php -v
PHP 5.1.6 (cli) (built: Jan 13 2010 17:13:05)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@localhost ~]#

Re: PHP Upgrade

Updating PHP only couldn't handled correctly the MySQL upgrade because of the split of the mysql packages (mysql + mysql-libs)

If you want MySQL 5.1.45, you must upgrade it first

yum --enablerepo=remi update mysql

Or, if you want to keep the old MySQL server 5.0.77, install only the client library required by PHP

yum --enablerepo=remi-test install mysqlclient16

Then the PHP Upgrade will work.

+

P.S. there is no ffmpeg extension in my repo.

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 Upgrade

Hi Remi,
thanks for the info. I will try.

Re: PHP Upgrade

Hi Remi

I have done it and it is working properly.