[How to] Downgrade PHP version from 5.4 to 5.3 in Ubuntu 12.10

This post will show you how to downgrade PHP version from 5.4 to 5.3 in Ubuntu 12.10.

First you need to download the shell script from below location :

https://www.box.com/s/utzf230qwdt1i5ifvmiu

Downgrade PHP version from 5.4 to 5.3 in Ubuntu 12.10 :

 

After downloading the php5_4_downgrade_5.3.sh file , Change the permissions using the following command :

sudo chmod 755 php5_4_downgrade_5.3.sh

Finally Run the script using the following command :

sudo sh php5_4_downgrade_5.3.sh

Note :

  • Chmod 755 is used to change the permission . By Chmod 755 , you can read or run the file.
  • Sh Command is used to execute the Shell .

[Via Link]