Question

Upgrade PHP 5.3.3 to at least 5.4

hi, i’ve followed the steps in this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6?comment=32964

but i require PHP 4.0.x to be installed for another program, i cant seem to find a working way to upgrade it

Show comments

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.

This question was answered by @zhunsakeuwyo:

If this were ubuntu this wouldn’t be a problem, Centos is a little bit more difficult. Centos is a clone of the red had source code which removes all branding of Redhat. Redhat’s main selling point is stability. In order to achieve this stability Redhat tries to reduce package update and back ports security fixes. Even if you could get 5.4 it might turn into a dependency nightmare. Having said that there is a tutorial on the superusers site that may help you out. WARNING They are using a fedora repo, this may drastically reduce stability on your system (or it might not) But again I don’t recommend it unless you absolutely cannot live without it. even then I would snapshot your droplet first just in case. http://superuser.com/questions/615401/upgrading-php-5-3-3-to-5-4-4-in-centos-6-4

Look under the solution part. Hope this helps!

View the original comment