I have two droplets running ubuntu and apache, both with wordpress installed. One is a production site and one is a staging site. I have both droplets updated with php7.4 (shows php7.4 when I run “php -v”). However, only the staging site wordpress updated to use php7.4. The production site wordpress is still using php7.2. I did not do anything differently on the two when installing or trying to update. Is there a way to “force” wordpress to use a specific PHP version? Thanks!
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.
Click below to sign up and get $100 of credit to try our products over 60 days!