forked from Lainports/opnsense-ports
24 lines
894 B
Modula-2
24 lines
894 B
Modula-2
******************************************************************************
|
|
|
|
Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project
|
|
recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
|
|
|
|
******************************************************************************
|
|
|
|
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
|
|
add WITH_MPM=event to /etc/make.conf to prevent build failures.
|
|
|
|
******************************************************************************
|
|
|
|
Make sure index.php is part of your DirectoryIndex.
|
|
|
|
You should add the following to your Apache configuration file:
|
|
|
|
<FilesMatch "\.php$">
|
|
SetHandler application/x-httpd-php
|
|
</FilesMatch>
|
|
<FilesMatch "\.phps$">
|
|
SetHandler application/x-httpd-php-source
|
|
</FilesMatch>
|
|
|
|
******************************************************************************
|