Notice for all is not well known that to install or do upgradeCPC to a newer version of WordPress 3.2It is necessary that web server be installed a newer version of PHP 5.2.4.
If the server is install a version of PHP older than 5.2.4 to install version WordPress 3.2.1, will appear error / the message: "Your server is running PHP version 5.1.6 but WordPress 3.2.1 requires at least 5.2.4".
The problem can be solved very simply by upgrading PHP, but before doing so a few things should be considered. First, upgrade PHP hosting is excluded from a share. To upgrade, you must have administrator access to the server (dedicated server or VPS). In the second, before the upgrade must be careful to document and that new version of PHP not to give Errors other sites hosted on that server.
because CentOS OS is the most widely used web servers (Agreart and cPanel / WHM) Will show you how to do upgrade to PHP 5.2.10 on CentOS 5.x 32-bit.
Upgrade PHP 5.1.x to 5.2.x on CentOS 5.x 32-bit
1. Check which packages / modules are installed PHP (ex. Php-mcrypt) in addition to standard packet. If any, they will be deleted or actuzlizate.
Check the installed packages:
rpm -qa | grep php
2. Add new archives yumrequired upgradePHP version acquis.
nano /etc/yum.repos.d/CentOS-Testing.repo
In the newly created file (CentOS-Testing.repo) Will add the lines below (copy / paste):
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*
Ctrl + X to save the file CentOS-Testing.repo.
3. Update PHP via yum:
yum update
4. Restart Apache / httpd :
service httpd restart
After restarting httpd, check the version and installed packages:
Check for errors modules / packages:
php -v
Stealth Settings - PHP Upgrade / CentOS 32-bit (i386).