0

I just installed Ubuntu server 14.04, I need to migrate my site from old server Ubuntu 10.04 (which has php 5.3) to the new server,

but currently when i install php using

`apt-get install php` 

i found the installed version is "PHP 5.5", how can i install 5.3?

If it is n't possible, what is the previous possible version of Ubuntu i should downgrade to be compatible with "PHP 5.3"?

2 Answers 2

1

I can think of 2 different options:

  1. try the solutions posted in this topic

  2. compile from source, although I wouldn't recommend this because you'll have to recompile after every security update

Btw, have you tried the site under PHP 5.5? Because if everything works well I can't think of any logical reason to downgrade.

-2

you can use this repository:

sudo add-apt-repository ppa:eugenesan/ppa

sudo apt-get update

sudo apt-get install php5

1
  • 3
    This won't work - it's overridden by the software version in Ubuntu.
    – Thomas Ward
    Feb 29, 2016 at 18:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .