- Check which PHP versions are currently available on your machine:
- Disable the broken PHP 8.1 module:
- Enable your new PHP version (replace
8.3with whatever version you found in step 1): - Restart Apache to apply the changes:
ls /etc/apache2/mods-available/ | grep php sudo a2dismod php8.1 sudo a2enmod php8.3 sudo systemctl restart apache2
留言