Google Ads

Upgrade MySQL and PHP
I.T. WORLD - Open Source Corner
Sunday, 11 September 2011 14:51

Today I'm experiencing a hard time upgrading my MySQL 5.0 to 5.1 and PHP 5.2. I found some couple of sites instructions seems to be neat and well explained but non of them works for me.

 

First I found David Yin's Blog and as well Jason Litka, David is only referring to Jason's blog.

 

Here is the best solution for you if you are using CentOS 5 (2.6.18-194.17.4.el5.centos.plus to be specific) and you want to have MySQL 5.1.58 and PHP 5.3.8. The main reason why I want to upgrade is because MyTinyTODO 1.4.2 is not working as it requires latest MySQL and PHP. I can highly recommend using AtomicCorp or simply follow these steps;

 

To upgrade to PHP 5.3.x on CentOS/RHEL/Fedora:

Step 1) Set up the atomic channel:

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Step 2) Upgrade to PHP 5.3.x:

yum upgrade

Step 3) Replace the PHP 4 php.ini with PHP 5.3.x's (if applicable):

mv /etc/php.ini.rpmnew /etc/php.ini

Step 4) Replace the php.conf with the PHP 5.3.x php.conf (if applicable):

mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

Step 5) Restart the webserver

service httpd restart
(or)
/etc/init.d/httpd restart








 

Add comment


Security code
Refresh

KM33 Goes Social

Avast Free

Free AVAST Anti-Virus

Download Here

Your license key is:
---------- cut here ----------
C24683153H1200A0512-KRRTYWF2
---------- cut here ----------
Expiry: June 22, 2011