View | Details | Raw Unified | Return to bug 268318 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/php80/Makefile (+1 lines)
Lines 98-103 PKGMESSAGE= ${PKGDIR}/pkg-message.mod Link Here
98
MODULENAME=	libphp
98
MODULENAME=	libphp
99
SHORTMODNAME=	php
99
SHORTMODNAME=	php
100
WARNING=	"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
100
WARNING=	"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
101
WARNING+=	"!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!"
101
.endif
102
.endif
102
103
103
.include <bsd.port.options.mk>
104
.include <bsd.port.options.mk>
(-)b/lang/php80/pkg-message.mod (-5 / +10 lines)
Lines 1-5 Link Here
1
******************************************************************************
1
******************************************************************************
2
2
3
Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project
4
recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
5
6
******************************************************************************
7
8
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
9
add WITH_MPM=event to /etc/make.conf to prevent build failures.
10
11
******************************************************************************
12
3
Make sure index.php is part of your DirectoryIndex.
13
Make sure index.php is part of your DirectoryIndex.
4
14
5
You should add the following to your Apache configuration file:
15
You should add the following to your Apache configuration file:
Lines 12-19 You should add the following to your Apache configuration file: Link Here
12
</FilesMatch>
22
</FilesMatch>
13
23
14
******************************************************************************
24
******************************************************************************
15
16
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
17
add WITH_MPM=event to /etc/make.conf to prevent build failures.
18
19
******************************************************************************
(-)b/lang/php81/Makefile (+1 lines)
Lines 96-101 PKGMESSAGE= ${PKGDIR}/pkg-message.mod Link Here
96
MODULENAME=		libphp
96
MODULENAME=		libphp
97
SHORTMODNAME=		php
97
SHORTMODNAME=		php
98
WARNING=		"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
98
WARNING=		"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
99
WARNING+=		"!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!"
99
.endif
100
.endif
100
101
101
.include <bsd.port.pre.mk>
102
.include <bsd.port.pre.mk>
(-)b/lang/php81/pkg-message.mod (-5 / +10 lines)
Lines 1-5 Link Here
1
******************************************************************************
1
******************************************************************************
2
2
3
Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project
4
recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
5
6
******************************************************************************
7
8
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
9
add WITH_MPM=event to /etc/make.conf to prevent build failures.
10
11
******************************************************************************
12
3
Make sure index.php is part of your DirectoryIndex.
13
Make sure index.php is part of your DirectoryIndex.
4
14
5
You should add the following to your Apache configuration file:
15
You should add the following to your Apache configuration file:
Lines 12-19 You should add the following to your Apache configuration file: Link Here
12
</FilesMatch>
22
</FilesMatch>
13
23
14
******************************************************************************
24
******************************************************************************
15
16
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
17
add WITH_MPM=event to /etc/make.conf to prevent build failures.
18
19
******************************************************************************
(-)b/lang/php82/Makefile (+1 lines)
Lines 97-102 PKGMESSAGE= ${PKGDIR}/pkg-message.mod Link Here
97
MODULENAME=		libphp
97
MODULENAME=		libphp
98
SHORTMODNAME=		php
98
SHORTMODNAME=		php
99
WARNING=		"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
99
WARNING=		"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
100
WARNING+=		"!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!"
100
.endif
101
.endif
101
102
102
.include <bsd.port.pre.mk>
103
.include <bsd.port.pre.mk>
(-)b/lang/php82/pkg-message.mod (-5 / +10 lines)
Lines 1-5 Link Here
1
******************************************************************************
1
******************************************************************************
2
2
3
Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project
4
recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
5
6
******************************************************************************
7
8
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
9
add WITH_MPM=event to /etc/make.conf to prevent build failures.
10
11
******************************************************************************
12
3
Make sure index.php is part of your DirectoryIndex.
13
Make sure index.php is part of your DirectoryIndex.
4
14
5
You should add the following to your Apache configuration file:
15
You should add the following to your Apache configuration file:
Lines 12-19 You should add the following to your Apache configuration file: Link Here
12
</FilesMatch>
22
</FilesMatch>
13
23
14
******************************************************************************
24
******************************************************************************
15
16
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
17
add WITH_MPM=event to /etc/make.conf to prevent build failures.
18
19
******************************************************************************
(-)b/lang/php83/Makefile (+1 lines)
Lines 98-103 PKGMESSAGE= ${PKGDIR}/pkg-message.mod Link Here
98
MODULENAME=		libphp
98
MODULENAME=		libphp
99
SHORTMODNAME=		php
99
SHORTMODNAME=		php
100
WARNING=		"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
100
WARNING=		"!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!"
101
WARNING+=		"!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!"
101
.endif
102
.endif
102
103
103
.include <bsd.port.options.mk>
104
.include <bsd.port.options.mk>
(-)b/lang/php83/pkg-message.mod (-5 / +10 lines)
Lines 1-5 Link Here
1
******************************************************************************
1
******************************************************************************
2
2
3
Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project
4
recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
5
6
******************************************************************************
7
8
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
9
add WITH_MPM=event to /etc/make.conf to prevent build failures.
10
11
******************************************************************************
12
3
Make sure index.php is part of your DirectoryIndex.
13
Make sure index.php is part of your DirectoryIndex.
4
14
5
You should add the following to your Apache configuration file:
15
You should add the following to your Apache configuration file:
Lines 12-19 You should add the following to your Apache configuration file: Link Here
12
</FilesMatch>
22
</FilesMatch>
13
23
14
******************************************************************************
24
******************************************************************************
15
16
If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled,
17
add WITH_MPM=event to /etc/make.conf to prevent build failures.
18
19
******************************************************************************

Return to bug 268318