I have a forum running by phpBB 3. After upgrading to phpBB 3.0.10, the board notice said, from phpBB 3.1, the next version, it will not support php5.2.
phpBB 3.1 “Ascraeus” to require PHP 5.3.2
My server is running php 5.2.17 on CentOS 5.8. To prevent the future problem I decide to upgrade php version to 5.3 now.
I followed the instruction of Chris Jean to do the upgrade. But still some issue I fixed by myself. So I put the screen shoot below for reference.
Just briefly log the steps I did.
1) Remove php 5.2
2) Install php5.3, including php53, php53-bcmath, php53-cli, php53-common, php53-devel, php53-gd, php53-ldap, php53-mbstring, php53-mysql, php53-pdo
3) Manually install php53-mcrypt module
2012-10-26_000604

Check PHP version.


2012-10-26_000755

Check what kind of php components installed.
2012-10-26_001135

Search which packages were available for php53
2012-10-26_001718

Uninstall the old php 5.2
2012-10-26_001741

The result of uninstallation
2012-10-26_001849

Install php 5.3, php Cli, php common, php devel, php gd for php 5.3
2012-10-26_002011

The result of installation
2012-10-26_002155

To install php53-mcrypt, I need libmcrypt-devel package. Later I complied it.
2012-10-26_002310

Download php 5.3.3 source package
2012-10-26_002619

Intall php mysql, php pdo, php mbstring, php ldap, php bcmath for php 5.3
2012-10-26_002639

The result of installation.
The only thing I did later is to install xcache. It has big improvement on forum performance.

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

Your email address will not be published. Required fields are marked *