If the server is install a version of PHP older than 5.2.4 to install version WordPress 3.2.1, will appear error / Message "Your server is running PHP version 5.1.6 Requires WordPress 3.2.1 But 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. So you can do the upgrade 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.
Upgrade to PHP 5.1.x 5.2.x on 5-bit CentOS 32.x
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):
name = 5 CentOS-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 file CentOS-Testing.repo.
3. PHP update via yum:
4. Restart Apache / httpd :
service httpd restart
After the restart httpd version and check the installed packages:
Check for errors modules / packages:
Stealth Settings – Upgrade PHP / 32-bit CentOS (i386).