I’m using Ubuntu and i want to install old version of MySQL and PHp such as MySQL 5.2 or lower and PHP 5.2 or lower because my software isn’t compatible with newer version. But i don’t know how. I tried googling but didn’t work. There’s nothing much. So plz help me :)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The simplest way to avoid these issues is of course to try to update the software/scripts. I haven’t gone through all the changelogs from PHP 5.2 to 5.5 though I doubt a lot of changes are necessary in order to make it work with the latest version.
In case you still prefer/have to use the old versions, then you have two options:
a) Remove the current PHP/MySQL packages, locate the old versions as .deb files, install them using dpkg -i and use apt-mark hold package-name in order to avoid updates from being installed
b) Compile/download the PHP/MySQL binaries and install them manually
When it comes to the first option, you may end up having a lot of dependency problems and having to downgrade other packages. Therefore, I recommend that you stick to the second option unless you have never tried to compile a package before.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.