Hello.
Yes, I need to use this deprecated version, I’m not working with the possibility to update the script, there is no time for this, I only need to run the 5.2.x version of PHP in a droplet, regardless of the distribution that is needed, someone I could explain how it is now possible to do this? I really have used many tutorials but have not had any success, do not intend to work with cPanel plugin, my goal is to use the command line for administration.
Thank you.
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!
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.
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.
Hi @sylassouza,
Since PHP 5.2 has been long deprecated, most probably you’ll need to build it from source
Download PHP sources
Patch PHP
Try and patch it down at least making it a bit more secure. Not that it’s entirely possible due to the nature of the version but still.
Compile and install
You’ll need to configure the PHP and then install it like so
Regards, KDSys
This comment has been deleted