Tuesday, January 29, 2019

Re: PHP pkg-readme clarification

On Tue, Jan 29, 2019 at 01:03:54PM -0700, Tracey Emery wrote:

> "installed. Then the module enable it by" sounds funny. Perhaps,
"installed. Then, enable the module by"?

> Sent from phone. Why it's not a diff.

Yes. That is terrible. I tried to correct some other awkward wording I
did and managed to move the awkward elsewhere. Here is a (hopefully)
better attempt. Then I will go get my afternoon caffeine.

--Kurt

Index: files/README-main
===================================================================
RCS file: /cvs/ports/lang/php/files/README-main,v
retrieving revision 1.8
diff -u -p -r1.8 README-main
--- files/README-main 23 Jan 2019 21:04:53 -0000 1.8
+++ files/README-main 29 Jan 2019 20:20:21 -0000
@@ -55,8 +55,9 @@ the two; therefore bugs in php can poten
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
+If you wish to use the Apache module, make sure the php-apache-${PV}
+package is installed. Then enable the module by creating a symbolic
+link from ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf
to ${MODPHP_CONFIG_PATH}/modules/php.conf. As root:

ln -sf ${MODPHP_CONFIG_PATH}/modules.sample/php-${PV}.conf \

No comments:

Post a Comment