rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum install php54w.x86_64 php54w-cli.x86_64 php54w-common.x86_64 php54w-gd.x86_64 php54w-ldap.x86_64 php54w-mbstring.x86_64 php54w-mcrypt.x86_64 php54w-mysql.x86_64 php54w-pdo.x86_64
service httpd restart
rpm -qa | grep 'php53-'
rpm -e --nodeps `rpm -qa | grep psa-php53-configurator-`
rpm -e `rpm -qa | grep 'php53-' | xargs`
wget dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
sudo vi /etc/yum.repos.d/remi.repo
yum install php
oh damn, haven't noticed it was that old while browsing recent post on that categories. sorry about that!I think he got it sorted, he had 5 months now. :facepalm:
Assuming you are running plesk, 11.5 to 12.5
Upgrade from PHP 5.3
1) Run Autoinstaller from the server console.
2) On the main components list, check that the PHP 5.3 support option is selected.
3) Exit Autoinstaller.
4) Remove all PHP 5.3 components and the PHP 5.3 configurator.
You can check which packages will be removed with the following command:
Code:rpm -qa | grep 'php53-'
All the listed packages will be removed with the following commands:
Code:rpm -e --nodeps `rpm -qa | grep psa-php53-configurator-` rpm -e `rpm -qa | grep 'php53-' | xargs`
5) Run Autoinstaller from the server console.
6) Check and install PHP5 support.
7) Install the epel and remi repositories:
Code:wget dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm wget rpms.famillecollet.com/enterprise/remi-release-5.rpm sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
8) Enable the remi repository:
Code:sudo vi /etc/yum.repos.d/remi.repo
In the [remi] section of the file, set the "enabled" option to 1.
9) Upgrade PHP with this command:
Code:yum install php