Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to download PHP manually in Plesk!  (Read 2796 times)

0 Members and 1 Guest are viewing this topic.

Chetan Singh

  • Full Member
  • ***
  • Posts: 123
  • Karma: +2/-0
  • Bienvenido a las Tecnologías de la Admin-Ahead.
    • Admin-Ahead Server Technologies.
How to download PHP manually in Plesk!
« on: February 08, 2014, 02:38:55 pm »
Hello,

Plesk autoinstaller does not have option to downgrade PHP, so if you want to downgrade PHP then you have to do this manually.  Follow these steps to downgrade PHP from 5.3 to PHP 5.2.17,

1) List all the installed PHP module/RPM via this command,

========================>>>
[root@]# rpm -qa | grep ^php
php-common-5.3.3-14.el6_3.x86_64
php-cli-5.3.3-14.el6_3.x86_64
php-5.3.3-14.el6_3.x86_64
php-gd-5.3.3-14.el6_3.x86_64
php-pdo-5.3.3-14.el6_3.x86_64
php-imap-5.3.3-14.el6_3.x86_64
php-mysql-5.3.3-14.el6_3.x86_64
php-xml-5.3.3-14.el6_3.x86_64
php-mbstring-5.3.3-14.el6_3.x86_64
php5-ioncube-loader-4.0.14-12042719.x86_64
[root@vps-]#
========================>>>

2) check if the packages/RPMs are available in current YUM Repo, if not you can download new "Atomic repo" from here,

========================>>>

wget -q -O - http://www.atomicorp.com/installers/atomic |sh

========================>>>

3) List all the PHP packages:

========================>>>
# yum list php php-common-5.2.17 php-cli-5.2.17 php php-gd-5.2.17 php-pdo-5.2.17 php-imap-5.2.17 php-mysql-5.2.17 php-xml-5.2.17 php-mbstring-5.2.17 php-mcrypt-5.2.17 --exclude=*5.3* --exclude=*i386*
========================>>>

4) Now, you have to remove all the current installed PHP 5.3 RPM via RPM command and install PHP 5.2 via this command.

========================>>>
# yum install php php-common-5.2.17 php-cli-5.2.17 php php-gd-5.2.17 php-pdo-5.2.17 php-imap-5.2.17 php-mysql-5.2.17 php-xml-5.2.17 php-mbstring-5.2.17 php-mcrypt-5.2.17 --exclude=*5.3* --exclude=*i386*
========================>>>

You have successfully downgraded PHP version in your server!

Thank you,
 
Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!