-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Actual behavior
By default, Apache on CentOS 7 uses mpm_prefork. When upgrading to 8, the default Apache settings were changed to the 'new' default for Apache which included changing MPM to event. This requires php-fpm to be installed for PHP to operate correctly. As php-fpm is a weak dependency for PHP, it was not installed by Elevate when upgrading. This resulted in a non-functioning PHP application when running through Apache.
To Reproduce
Steps to reproduce the behavior
- Install Apache, MySQL and PHP on CentOS 7.
- Create basic PHP application operating with prefork (the default).
- ELevate to 8
- Application is no longer functional.
Expected behavior
-
Application should continue to function post-upgrade.
-
If
rpm -V httpdshows no changes to config files, the user should be warned that Apache defaults to using FPM withmpm_eventand sites relying onpreforkwill be affected.
System information (please complete the following information):
- OS and version: (e.g. Fedora 29 or
$ cat /etc/system-release) - CentOS 7.9 to AlmaLinux 8.9