Skip to content

Commit

Permalink
fb_apache: add support for fcgi (fedora/centos)
Browse files Browse the repository at this point in the history
This is required to make PHP work on modern RH-y distros.

Signed-off-by: Phil Dibowitz <[email protected]>
  • Loading branch information
jaymzh committed Nov 11, 2024
1 parent 72593e8 commit c92550d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions cookbooks/fb_apache/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,24 +101,24 @@
'auth_digest' => 'mod_auth_digest.so',
'authn_alias' => 'mod_authn_alias.so',
'authn_anon' => 'mod_authn_anon.so',
'authn_core' => 'mod_authn_core.so',
'authn_dbd' => 'mod_authn_dbd.so',
'authn_dbm' => 'mod_authn_dbm.so',
'authn_core' => 'mod_authn_core.so',
'authn_file' => 'mod_authn_file.so',
'authnz_ldap' => 'mod_authnz_ldap.so',
'authz_dbm' => 'mod_authz_dbm.so',
'authz_core' => 'mod_authz_core.so',
'authz_dbm' => 'mod_authz_dbm.so',
'authz_groupfile' => 'mod_authz_groupfile.so',
'authz_host' => 'mod_authz_host.so',
'authz_owner' => 'mod_authz_owner.so',
'authz_user' => 'mod_authz_user.so',
'autoindex' => 'mod_autoindex.so',
'cache' => 'mod_cache.so',
'cern_meta' => 'mod_cern_meta.so',
'cgid' => 'mod_cgid.so',
'cgi' => 'mod_cgi.so',
'dav_fs' => 'mod_dav_fs.so',
'cgid' => 'mod_cgid.so',
'dav' => 'mod_dav.so',
'dav_fs' => 'mod_dav_fs.so',
'dav_svn' => 'mod_dav_svn.so',
'dbd' => 'mod_dbd.so',
'deflate' => 'mod_deflate.so',
Expand All @@ -128,6 +128,7 @@
'env' => 'mod_env.so',
'expires' => 'mod_expires.so',
'ext_filter' => 'mod_ext_filter.so',
'fcgid' => 'mod_fcgid.so',
'filter' => 'mod_filter.so',
'headers' => 'mod_headers.so',
'ident' => 'mod_ident.so',
Expand All @@ -142,12 +143,13 @@
'negotiation' => 'mod_negotiation.so',
'php5' => 'libphp5.so',
'php7' => 'libphp7.so',
'proxy' => 'mod_proxy.so',
'proxy_ajp' => 'mod_proxy_ajp.so',
'proxy_balancer' => 'mod_proxy_balancer.so',
'proxy_connect' => 'mod_proxy_connect.so',
'proxy_fcgi' => 'mod_proxy_fcgi.so',
'proxy_ftp' => 'mod_proxy_ftp.so',
'proxy_http' => 'mod_proxy_http.so',
'proxy' => 'mod_proxy.so',
'proxy_scgi' => 'mod_proxy_scgi.so',
'reqtimeout' => 'mod_reqtimeout.so',
'rewrite' => 'mod_rewrite.so',
Expand All @@ -160,9 +162,9 @@
'suexec' => 'mod_suexec.so',
'systemd' => 'mod_systemd.so',
'unique_id' => 'mod_unique_id.so',
'unixd' => 'mod_unixd.so',
'userdir' => 'mod_userdir.so',
'usertrack' => 'mod_usertrack.so',
'unixd' => 'mod_unixd.so',
'version' => 'mod_version.so',
'vhost_alias' => 'mod_vhost_alias.so',
},
Expand All @@ -179,6 +181,9 @@
'php7' => value_for_platform_family(
'rhel' => 'mod_php',
),
'fcgid' => value_for_platform_family(
'rhel' => 'mod_fcgid',
),
'ssl' => value_for_platform_family(
'rhel' => 'mod_ssl',
),
Expand Down

0 comments on commit c92550d

Please sign in to comment.