Zcon
Zcon

Reputation: 153

how to install php 5.3.10 on ubuntu 14.04

I am new to Ubuntu and PHP i need install PHP 5.3.10 on Ubuntu 14.04.I tried several ways

1.apt-get install php5 (it is installing php 5.5.9 it is not version what i need )

2.sudo -i

wget http://in1.php.net/distributions/php-5.3.10.tar.bz2

tar -xvf php-5.3.10.tar.bz2

cd php-5.3.10

./configure

make
make install

(when it run "make" command it is given error)

3.sudo add-apt-repository ppa:eugenesan/ppa

sudo apt-get update

sudo apt-get install php5

(it is also not working for me )

any can tell how install php 5.3.10 on Ubuntu 14.04 step by step

Thank you

Upvotes: 0

Views: 9766

Answers (1)

Zcon
Zcon

Reputation: 153

This will install php 5.3.10 version.on Ubuntu 14.04

Download shell script from this link. once you have that .sh downloaded file. you need to change the permission using this command

sudo chmod 755 php5_4_downgrade_5.3.sh

Next you can run the script using this command

sudo sh php5_4_downgrade_5.3.sh

Upvotes: 1

Related Questions