Mobile app version of vmapp.org
Login or Join
Angela700

: How do I upgrade the PHP MySQL Library? My PHP MySQL Library version is out of date with my MySQL Vesion. How do I fix this? Server: CentOS 6.3 Steps Taken: FRESH machine originally installed

@Angela700

Posted in: #Centos #Mysql #Php

My PHP MySQL Library version is out of date with my MySQL Vesion. How do I fix this?

Server: CentOS 6.3

Steps Taken:


FRESH machine originally installed with MySQL 5.1 and PHP 5.3
I uninstalled php and then installed php54w (and most dependancies, including php54w-mysql from webtatic)
I uninstalled mysql and installed mysql55 mysql55-server from webtatic


At this point everything is fine but my mysql lib is out of sync (message form phpmyadmin): "Your PHP MySQL library version 5.1.69 differs from your MySQL server version 5.5.31. This may cause unpredictable behavior."

Now, I know some people have suggested that this is fine for the most bit, but this will be a production machine and I don't want to assume it will be fine.


I tried removing and re-installing php54w-mysql, didn't work


So, how do I upgrade the PHP MySQL Library?

Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

1 Comments

Sorted by latest first Latest Oldest Best

 

@Voss4911412

The steps to take should have been:

1). Clear the cache in yum:

yum clean all
2). Update your system:

yum --obsoletes update
3). Add the remi repository to your server:


rpm -Uvh
download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh rpms.famillecollet.com/enterprise/remi-release-6.rpm

4). Upgrade PHP (without uninstalling it first):


yum --enablerepo=remi,remi-test update httpd mysql mysql-server php
php-common

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme