I want to install php 5.3.9 in ubuntu 12.04 via apt-get - what repository should I add?

15,559

Solution 1

PHP 5.4 Should be Out by now. Try updating with

sudo apt-get update

then

sudo apt-get install php5

Solution 2

This question is definitely off topic but the answer is quite simple so I will post it anyway:

sudo apt-get install php5-cli php5-common

Share:
15,559
Deepan Chakravarthy
Author by

Deepan Chakravarthy

Updated on July 20, 2022

Comments

  • Deepan Chakravarthy
    Deepan Chakravarthy almost 2 years

    I want to install php 5.3.9 in ubuntu 12.04 via apt-get.

    apt-cache show php5-fpm

    only lists 5.3.10-1ubuntu3.1 and 5.3.10-1ubuntu3. There is a critical bug in 5.3.10 ( https://bugs.php.net/bug.php?id=61045&edit=1 ) that I am trying to avoid.

    Is there a repository that will let me install php 5.3.9 in ubuntu 12.04 LTS?