Page 1 of 1

Fedora 33/34 mod_php deprecated issue

Posted: Thu Jun 03, 2021 5:10 pm
by kenworth
Hi all, I just upgraded to Fedora 34 from 32 today and ran into issues with the fact that mod_php is no longer present with PHP-FPM being the replacement. The issue is the php_value settings that seem to be required by Zoneminder now prevent httpd from starting since mod_php is no longer there. I was able to restore a backup copy of libphp7.so to the httpd modules directory and that enabled me to get everything up and running, however, that's not a good long term solution. Is anyone aware of the correct way to resolve this? It looks like it has been done for nginx, but ZM seems to assume that Apache is always using mod_php.

Thanks!

Re: Fedora 33/34 mod_php deprecated issue

Posted: Wed Jul 21, 2021 12:08 pm
by GregW_ZA
Can you be more specific with regards to your issues?

I am running ZM on Fedora 34 (from RPMFusion) with no PHP issues. I am simply including the apache conf file

Code: Select all

/etc/zm/www/zoneminder.conf
in my VirtialHost configuration for ZM. I am using the default www pool for php-fpm without any changes.

Re: Fedora 33/34 mod_php deprecated issue

Posted: Mon Jul 26, 2021 3:29 pm
by kenworth
I figured this out. I was using an old version of /etc/httpd/conf.d/php.conf. Converting to the current version of that file and commenting out everything in /etc/httpd/conf.modules.d/10-php.conf prevented mod_php from loading.