summaryrefslogtreecommitdiff
path: root/lang/php85/pkg-message.mod
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php85/pkg-message.mod')
-rw-r--r--lang/php85/pkg-message.mod24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/php85/pkg-message.mod b/lang/php85/pkg-message.mod
new file mode 100644
index 000000000000..8ad98d25b4e6
--- /dev/null
+++ b/lang/php85/pkg-message.mod
@@ -0,0 +1,24 @@
+******************************************************************************
+
+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>
+
+******************************************************************************