Changes

Jump to: navigation, search

Package:Apache

433 bytes added, 5 years ago
m
more details
Apache supports php-fpm also, this is the preferred method to serve php.
{{file|name=/etc/portage/make.conf|lang=|desc=enable php dso moduleproxy & fcgi modules|body=
...
APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias proxy proxy_fcgi"
...
}}
{{file|name=/etc/conf.d/apache2|lang=|desc=enable php dso proxy module|body=
"... -D PROXY"
}}
{{file|name=/etc/apache2/httpd.conf|lang=|desc=enable php dso moduleproxy & fcgi modules|body=
...
LoadModule proxy_module modules/mod_proxy.so
}}
{{file|name=/etc/apache2/vhosts.d/00_default_vhost.conf|lang=|desc=enable configure php dso module-fpm vhosts.|body=
...
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/path/to/your/documentroot/$1
wiki-moderators
749
edits

Navigation menu