How to make VPS that has php5 installed to also support php4 code?

  • Posted February 17, 2014

My website code is php4 and my DO VPS has php5. Is there anyway to make it also support php4?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I’d encourage you to move to php5 if at all possible. It will make your life easier on a number of levels. Most distros no longer have php4 available, so you’ll need to install it from source. That said, it is possible. Check out this page for some information on how to set up your Apache virtual hosts to use different version of php: <br> <br>