|
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
|