FreeBSD Bugzilla – Attachment 246722 Details for
Bug 268318
www/apache24 with www/mod_php8{0,1,2,3?}: opcache + ASLR turned on crashes Apache
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git diff for lang/php8
file_268318.txt (text/plain), 7.14 KB, created by
Bernard Spil
on 2023-12-02 10:44:35 UTC
(
hide
)
Description:
git diff for lang/php8
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2023-12-02 10:44:35 UTC
Size:
7.14 KB
patch
obsolete
>diff --git a/lang/php80/Makefile b/lang/php80/Makefile >index 1b137546c8..78c8840cb9 100644 >--- a/lang/php80/Makefile >+++ b/lang/php80/Makefile >@@ -98,6 +98,7 @@ PKGMESSAGE= ${PKGDIR}/pkg-message.mod > MODULENAME= libphp > SHORTMODNAME= php > WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" >+WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" > .endif > > .include <bsd.port.options.mk> >diff --git a/lang/php80/pkg-message.mod b/lang/php80/pkg-message.mod >index a0c2c87889..8ad98d25b4 100644 >--- a/lang/php80/pkg-message.mod >+++ b/lang/php80/pkg-message.mod >@@ -1,5 +1,15 @@ > ****************************************************************************** > >+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: >@@ -12,8 +22,3 @@ You should add the following to your Apache configuration file: > </FilesMatch> > > ****************************************************************************** >- >-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. >- >-****************************************************************************** >diff --git a/lang/php81/Makefile b/lang/php81/Makefile >index fa75623432..fb40b565d6 100644 >--- a/lang/php81/Makefile >+++ b/lang/php81/Makefile >@@ -96,6 +96,7 @@ PKGMESSAGE= ${PKGDIR}/pkg-message.mod > MODULENAME= libphp > SHORTMODNAME= php > WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" >+WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" > .endif > > .include <bsd.port.pre.mk> >diff --git a/lang/php81/pkg-message.mod b/lang/php81/pkg-message.mod >index a0c2c87889..8ad98d25b4 100644 >--- a/lang/php81/pkg-message.mod >+++ b/lang/php81/pkg-message.mod >@@ -1,5 +1,15 @@ > ****************************************************************************** > >+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: >@@ -12,8 +22,3 @@ You should add the following to your Apache configuration file: > </FilesMatch> > > ****************************************************************************** >- >-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. >- >-****************************************************************************** >diff --git a/lang/php82/Makefile b/lang/php82/Makefile >index 11d8c1102f..b8c56d808e 100644 >--- a/lang/php82/Makefile >+++ b/lang/php82/Makefile >@@ -97,6 +97,7 @@ PKGMESSAGE= ${PKGDIR}/pkg-message.mod > MODULENAME= libphp > SHORTMODNAME= php > WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" >+WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" > .endif > > .include <bsd.port.pre.mk> >diff --git a/lang/php82/pkg-message.mod b/lang/php82/pkg-message.mod >index a0c2c87889..8ad98d25b4 100644 >--- a/lang/php82/pkg-message.mod >+++ b/lang/php82/pkg-message.mod >@@ -1,5 +1,15 @@ > ****************************************************************************** > >+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: >@@ -12,8 +22,3 @@ You should add the following to your Apache configuration file: > </FilesMatch> > > ****************************************************************************** >- >-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. >- >-****************************************************************************** >diff --git a/lang/php83/Makefile b/lang/php83/Makefile >index 060b7c772f..554a7a8d45 100644 >--- a/lang/php83/Makefile >+++ b/lang/php83/Makefile >@@ -98,6 +98,7 @@ PKGMESSAGE= ${PKGDIR}/pkg-message.mod > MODULENAME= libphp > SHORTMODNAME= php > WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" >+WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" > .endif > > .include <bsd.port.options.mk> >diff --git a/lang/php83/pkg-message.mod b/lang/php83/pkg-message.mod >index a0c2c87889..8ad98d25b4 100644 >--- a/lang/php83/pkg-message.mod >+++ b/lang/php83/pkg-message.mod >@@ -1,5 +1,15 @@ > ****************************************************************************** > >+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: >@@ -12,8 +22,3 @@ You should add the following to your Apache configuration file: > </FilesMatch> > > ****************************************************************************** >- >-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. >- >-******************************************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
brnrd
:
maintainer-approval?
(
bofh
)
brnrd
:
maintainer-approval?
(
tz
)
Actions:
View
|
Diff
Attachments on
bug 268318
:
238714
|
242126
|
242619
| 246722