Glam Prestige Journal

Bright entertainment trends with youth appeal.

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?

2

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.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy