Cannot Compile Php 5.3.29 on Ubuntu 16.04
I Am Having Issues in Compiling the Php 5.3.29 on Ubuntu 16.04 My Question: Say If I Compile Php on Earlier Version of Ubuntu and Copy It over to Ubuntu 16.04...
I am having issues in compiling the PHP 5.3.29 on Ubuntu 16.04
My question: Say if I compile PHP on earlier version of ubuntu and copy it over to Ubuntu 16.04. Will it work as expected or it will fail?
1 Answer
I use ubuntu 16.04, and all work's fine. Here example how install php5.x.x link
Pre-requisites
You will need these two extra packages if you don't have them:
sudo apt-get install build-essential libxml2-dev
Install PHP
In terminal:
wget
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.