![]() ![]() When I disable the PHP module, I can disable mpm_prefork and enable mpm_event but then I wouldn't have PHP anymore (I think? It's all so confusing.)Įdit: I tried disabling the PHP module and enabling mpm_event but it made the website not work anymore so I reverted those changes.įor clarity, when I try "sudo a2dismod mpm_prefork", I get this error: ERROR: The following modules depend on mpm_prefork and need to be disabled first: php8.1 Upon trying "sudo a2dismod mpm_prefork" so I can enable mpm_event again, it says that it can't disable mpm_prefork because there's a conflict with the PHP module. Sudo update-alternatives -config php-configĪfter all of this, I noticed that my webpages stopped serving via http/2. Sudo update-alternatives -config phar.phar I also ran these commands which all show that 8.1 is currently running: sudo update-alternatives -config php ![]() However, whenever I run "php -v", it says that the CLI is "8.1" but using "phpinfo()" on the live site still returns "7.4.26". The second command had a conflict with mpm_event so I then ran: sudo a2dismod mpm_eventĪfter running "sudo a2enmod php8.1" again as well as "sudo systemctl restart apache2", it seemed okay. ![]() The first steps I did were: sudo a2dismod php7.4 I'm trying to update my server to use PHP8.1 and I ended up disabling http/2 and also can't figure out how to re-enable it and actually get PHP8.1 to run. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |