Question

how to install php5.2 with zend optimizer on my Ubuntu LAMP on 14.04 Droplet?

Hi, I bought an application which was encrypted by zend optimizer under php5.2, so I want to install php5.2 with zend optimizer on my Ubuntu LAMP on 14.04 Droplet, but it’s default to php5.5, and I can not uninstall it, I don’t have much experience with Ubuntu… please help me, I’ve also talked to the company I bought the application, they won’t provide me upgraded version for php5.5… I just need a solution to have a host with php5.2 and zend optimizer on it, thanks so much!


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

PHP is just an executable you can add to your Ubuntu system. If your web server is configured to use it, it will point to this executable program and run it. So if you already have a newer version of PHP, you can download an older one and then tweak your web server to point to it. PHP download page is here:

PHP - Unsupported Historical Releases - http://php.net/releases/

According to that page, 5.2 had end of support way back in 2011. So I highly don’t recommend running it in production and unleashing all the potential bugs/security issues.

The vendor of this web app really needs to provide you an update. In a worst case scenario, you can follow the installation instructions for building PHP here:

http://php.net/manual/en/install.unix.php