I'm using kubuntu 13.04 I've used a downgrade script to downgrade php 5.4 to 5.3 earlier, and now I deleted the repo and that script, removed php 5.3 and now when installing again, it's installing php 5.5 not 5.4.
How do I install php 5.4 not 5.5 ?
I'm using kubuntu 13.04 I've used a downgrade script to downgrade php 5.4 to 5.3 earlier, and now I deleted the repo and that script, removed php 5.3 and now when installing again, it's installing php 5.5 not 5.4.
How do I install php 5.4 not 5.5 ?
Sorry i wanted to post this as a comment but dont have enough rep. Anyway i had to do the same and followed these steps, below is the following i did to go back to PHP 5.4
remove your php, apache, etc
sudo apt-get purge apache2 php5 libapache2-mod-php5 # add here your server packages
change repositories to raring (with backup)
sudo sed -i.bak "s/saucy/raring/g" /etc/apt/sources.list
update and install server packages
sudo apt-get update
sudo apt-get install apache2 php5 libapache2-mod-php5 phpmyadmin
change repositories back to saucy
sudo sed -i "s/raring/saucy/g" /etc/apt/sources.list
ignore all current upgrades (package hold)
sudo apt-mark hold `aptitude -F%p --disable-columns search ~U`
You could download the version you want from the PHP Git repository and compile it manually.
The compilation requirements are:
You can download the 5.4 snapshot as source code from git.php.net: 5.4.22
Here is a guide for installing from source: install php5 from source on linux
Article source: php.net.