Make it clearer that you need to install php-apache in order to use apache

mod_php. Based on a diff from Kurt Mosiejczuk.
This commit is contained in:
sthen 2019-01-29 20:25:15 +00:00
parent 16ee50447d
commit 8d10c61f55
3 changed files with 9 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.15 2019/01/23 21:04:53 sthen Exp $
# $OpenBSD: Makefile,v 1.16 2019/01/29 20:25:15 sthen Exp $
PV= 7.1
V= ${PV}.26
REVISION-main= 0
REVISION-main= 1
.include <bsd.port.mk>

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.18 2019/01/23 21:04:53 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2019/01/29 20:25:15 sthen Exp $
PV= 7.2
V= ${PV}.14
REVISION-main= 0
REVISION-main= 1
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
$OpenBSD: README-main,v 1.8 2019/01/23 21:04:53 sthen Exp $
$OpenBSD: README-main,v 1.9 2019/01/29 20:25:15 sthen Exp $
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
@ -55,16 +55,15 @@ the two; therefore bugs in php can potentially do more damage.
Another option is to use FastCGI via php-fpm as in the above section;
you can use mod_proxy_fcgi to interface it with Apache.
If you wish to use the Apache module, enable it by creating a
symbolic link from ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf
to ${MODPHP_CONFIG_PATH}/modules/php.conf. As root:
If you wish to use the Apache module, make sure the php-apache-${PV}
package is installed, then enable it by creating a symbolic link:
ln -sf ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf \
# ln -sf ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf \
${MODPHP_CONFIG_PATH}/modules/php.conf
To disable:
rm -f ${MODPHP_CONFIG_PATH}/modules/php.conf
# rm -f ${MODPHP_CONFIG_PATH}/modules/php.conf
After making either of these changes, restart Apache.