Thursday, June 11, 2015

How To Upgrade PHP 5.3 to 5.4 in Centos 6

Hello again, now i want to share about how to change PHP Version, in Centos 6, many of them are still running PHP 5.3.3, actually there are nothing to worry about PHP 5.3.3 but in some case, you need to run on PHP 5.4.x

Step 1 - Checking Version of PHP
Okay, now lets start.
Before we upgrade make sure you running PHP 5.3.x, how to to that?
Open your terminal and type
php --version

See picture above, it showing the version of PHP that running in your system

Step 2 - Upgrading PHP 5.3.x into PHP 5.4.x
Now we will upgrade it into 5.4.x
Type command below in your terminal
chmod +x && ./

after this, there are a few prompt, just answer with typing "y" (without quote)
when its all done, just type
php --version

to re-check that your PHP version is already upgraded.

It's done.
See you in next tutorial.


Post a Comment