php5 update problem

Moved to a new server and trying to update php5 but keep getting these conflict errors.
whats the easiest way to update mysql and php to the latest.
On my other server it was easy as i just removed mysql and its dependency’s and installed with the update.
As this server has interworx cp it wants to remove interworx
along with the mysql.
Any help appreciated

CODE]
Transaction Check Error:
file /etc/my.cnf from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.x86_64
file /etc/my.cnf from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386
file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.36-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.45-7.el5.i386

sorted now

Hi Bear,
So, what did you have to do to correct this problem. I noticed you were trying to install 64-bit mysql libs on top of a 32-bit mysql installation.

[QUOTE=IWorx-Jonathan;16231]Hi Bear,
So, what did you have to do to correct this problem. I noticed you were trying to install 64-bit mysql libs on top of a 32-bit mysql installation.[/QUOTE]
i only managed to update php to php 5.2.6, Could not update mysql so really only part sorted.

could be the reason why i could not update mysql, will take another look
thanks

That sorted the problem out, there was a 32-bit sql package causing the problem.
removed the 32-bit and re-updated using remi
now running 64-bit mysql 5.1.36 and php 5.2.10

Excellent, I have issues like that every now and then as well. I try to run all 64-bit packages on my servers but sometimes things get a bit confused. Glad to hear the problem has been solved.