From b7256a8a82039560ac31677ad751c97dd5bbe783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 15 Jul 2021 21:35:27 +0200 Subject: httpd.conf: Configure PHP 7.4 --- usr/pkg/etc/httpd/httpd.conf | 9 +++++++-- 1 file 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 User www @@ -185,6 +186,10 @@ LogLevel warn #AddOutputFilter INCLUDES .shtml + + SetHandler application/x-httpd-php + + #MIMEMagicFile etc/httpd/magic # Server-pool management (MPM specific) -- cgit v1.2.3