You will need these two extra packages if you don’t have them:
1 |
sudo apt-get install build-essential libxml2-dev |
In terminal:
1 2 3 4 5 6 7 |
wget http://in1.php.net/distributions/php-5.3.29.tar.bz2 tar -xvf php-5.3.29.tar.bz2 cd php-5.3.29 ./configure make make test # Neither mandatory nor a bad idea. sudo make install |
The instructions will untar the source build and they will install php in your system.
Credit : https://askubuntu.com/questions/462673/installing-php-5-3-in-ubuntu-14-04
แก้ปัญหา
1 |
sudo apt-get install libapache2-mod-php5 |
ป้ายกำกับ:aws, ec2, Install php-5.3.29