Downrev to PHP7.4 Not Working
-
I’m trying to downgrade my sites from php8.1.6 to php7.4. The problem is the change isn’t “taking”: site health/info still shows my sites running 8.1.6.
This is on debian 10 using apache2.
Here’s what I’ve done:
Re-installed 7.4 and all of the needed addons
Disabled 8.1 via a2dismod php8.1
Enabled 7.4 via a2enmod php7.4
Changed the system-wide default via update-alternatives –config php
Restarted apache2
Rebooted the server (out of desperation :))But WP steadfastly insists on using php8.1.6. php -v, however, reports that it’s using php7.4
I guess I could just uninstall 8.1.6. But I’d rather keep it around.
How do I get the change to take? What am I missing?
The topic ‘Downrev to PHP7.4 Not Working’ is closed to new replies.