-
Notifications
You must be signed in to change notification settings - Fork 11
implementation
This package provides PHP 7.3, based on the Fedora php package.
The packages mostly work the same as their stock and Fedora equivalents. There are a few notable ways we diverge.
-
In RHEL and Fedora, the php package is the Apache HTTPD module, not the language itself (which is in php-common). Most people now use php-fpm, but mistakenly install both php and php-fpm. Based on current Fedora guidelines, the HTTPD module should be named mod_php. Fedora has declined to make this change (see rhbz#1290267), but IUS would like to have the benefits of the clearer naming, so we have implemented this. Install the SAPI that you want to use.
- mod_php73
- php73-fpm
-
RHEL and Fedora runs php-fpm as the apache user. php73-fpm adds and uses a php-fpm user. If you want to want to switch from using a TCP port to a Unix socket, make sure to allow your webserver user access to the socket by adding them to the php-fpm group or by configuring
listen.acl_users
in/etc/php-fpm.d/www.conf
. -
RHEL's php-fpm doesn't include httpd or nginx configuration files. Fedora's php-fpm does, but doesn't depend on the full httpd or nginx packages by taking advantage of the httpd-filesystem and nginx-filesystem packages. httpd-filesystem isn't available in RHEL, so IUS takes the alternate approach of introducing php73-fpm-httpd and php73-fpm-nginx. These packages contain the relevant configuration files and require the corresponding webserver.