FIX PROBLEM: Your server is running PHP version 5.1.6 but WordPress 3.2.1 requires at least 5.2.4.

Notice for all is not well known that to install or do upgradeCPC to a newer version of 3.2It is necessary that be installed a newer version of 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 OS is the most widely used web servers (Agreart and / 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
old_php_version

2. Add new archives required 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 / httpd :

service httpd restart

After restarting httpd, check the version and installed packages:

new_php_version

Check for errors modules / packages:

php -v

- PHP Upgrade / CentOS 32-bit (i386).

Founder and editor Stealth Settings, from 2006 to the present. Experience on operating systems Linux (in particular CentOS), Mac OS X, Windows XP> Windows 10 si WordPress (CMS).

How to » Linux » FIX PROBLEM: Your server is running PHP version 5.1.6 but WordPress 3.2.1 requires at least 5.2.4.
Leave a Comment