Today I updated my Direct Admin configuration as I did every month. Unfortunately on four servers Apache did not start after these updates. It turned out to be a problem in PHP5 (mod_php to be exactly) because after removing (commenting out) LoadModule php5_module /usr/lib/apache/libphp5.so in httpd-phpmodules.conf Apache starts again. I tried to recompile PHP5.4, 5.5 and 5.6 but always the same error.
I know that we should migrate to PHP7.x and on one server it was possible to assign PHP7.3 to all websites so it's not a real issue on that one. But on the other three servers my customers still have old(er) software that is not compatible with PHP7.x so that is a real problem at the moment.
At last I got PHP5 back working again by changing the php mode to php-fpm for both PHP5.6 and PHP7.2:
#PHP Settings
php1_release=5.6
php1_mode=php-fpm
php2_release=7.2
php2_mode=php-fpm
I posted this here for the maintainers to have a look at this issue and for system administrators to find a work-around of this problem in case they also run into it.
I know that we should migrate to PHP7.x and on one server it was possible to assign PHP7.3 to all websites so it's not a real issue on that one. But on the other three servers my customers still have old(er) software that is not compatible with PHP7.x so that is a real problem at the moment.
At last I got PHP5 back working again by changing the php mode to php-fpm for both PHP5.6 and PHP7.2:
#PHP Settings
php1_release=5.6
php1_mode=php-fpm
php2_release=7.2
php2_mode=php-fpm
I posted this here for the maintainers to have a look at this issue and for system administrators to find a work-around of this problem in case they also run into it.