The current version of the Wordpress marketplace app is shipped with PHP v8: https://marketplace.digitalocean.com/apps/wordpress
How can I configure it to use PHP v7.4 instead?
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.
Hello, @plantslovertbilisi
As per Bobby’s comment, the active support for PHP 7.4 would end by the end of the year which you should take under consideration.
You can also spin up a Ubuntu or CentOS droplet and then install PHP 7.4 (configure the LAMP stack) as per your wish.
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04
And then install WordPress manually as per this tutorial:
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-20-04-with-a-lamp-stack
However, if you’ve already used the marketplace app you should follow the instructions provided by Bobby.
Regards, Alex
Hello,
Just as a side note, the active support for PHP 7.4 would end by the end of the year as per the PHP official website here:
https://www.php.net/supported-versions.php
In case that you still would like to downgrade the PHP version from 8.0 to 7.4, you could do it by running the following commands:
Hope that this helps. Best, Bobby