I want to know how to install PHP 5.3 on Ubuntu Server 18.04 LTS, because I have a system that requires PHP 5.3 only.
Is this possible?
I want to know how to install PHP 5.3 on Ubuntu Server 18.04 LTS, because I have a system that requires PHP 5.3 only.
Is this possible?
Besides getting the usual warning regarding outdated packages, you should be able to compile PHP 5.3 on your system.
Taken from this post:
You will need these extra packages:
sudo apt-get install build-essential libxml2-dev checkinstall
Install PHP
In terminal - Download the package into tmp directory (or where ever you want it downloaded to)
Untar and cd into directory
Get everything ready and compile - if you get errors you may be missing some packages. You will have to google how to get these missing parts.
Create PHP 5.3 .deb file. This way you can easily uninstall later.
I just tried to compile this on my 18.04 machine and it worked fine. But you may need certain php modules for your project and you may have to find and compile those as well.
You may have to install some missing packages for the .deb file (like Apache, etc.) You can fix that by running this after:
Also, I hope this project is an internal one, and not exposed to the internet. But I am sure you are aware of the dangers, right? ;)
Yes it's possible but you need to compile php manually. In addition to the above comment, ./configure make (you'll need to include what modules that you wish to add to the compilation)