diff options
Diffstat (limited to 'usr/pkg/etc/httpd')
-rw-r--r-- | usr/pkg/etc/httpd/httpd.conf | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/pkg/etc/httpd/httpd.conf b/usr/pkg/etc/httpd/httpd.conf index 135fea7..fc43460 100644 --- a/usr/pkg/etc/httpd/httpd.conf +++ b/usr/pkg/etc/httpd/httpd.conf @@ -1,8 +1,8 @@ ServerRoot "/usr/pkg" Listen 0.0.0.0:80 -LoadModule mpm_event_module lib/httpd/mod_mpm_event.so -#LoadModule mpm_prefork_module lib/httpd/mod_mpm_prefork.so +#LoadModule mpm_event_module lib/httpd/mod_mpm_event.so +LoadModule mpm_prefork_module lib/httpd/mod_mpm_prefork.so #LoadModule mpm_worker_module lib/httpd/mod_mpm_worker.so LoadModule authn_file_module lib/httpd/mod_authn_file.so #LoadModule authn_dbm_module lib/httpd/mod_authn_dbm.so @@ -110,6 +110,7 @@ LoadModule userdir_module lib/httpd/mod_userdir.so LoadModule alias_module lib/httpd/mod_alias.so LoadModule rewrite_module lib/httpd/mod_rewrite.so LoadModule perl_module lib/httpd/mod_perl.so +LoadModule php7_module lib/httpd/mod_php7.so <IfModule unixd_module> User www @@ -185,6 +186,10 @@ LogLevel warn #AddOutputFilter INCLUDES .shtml </IfModule> +<FilesMatch \.php$> + SetHandler application/x-httpd-php +</FilesMatch> + #MIMEMagicFile etc/httpd/magic # Server-pool management (MPM specific) |