[MacPorts] howto/PHP modified

MacPorts noreply at macports.org
Sat Oct 21 22:07:14 UTC 2017


Page "howto/PHP" was changed by Schamschula
Diff URL: <https://trac.macports.org/wiki/howto/PHP?action=diff&version=21>
Revision 21
Comment: Updated for apache2 2.4.x
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/PHP
=========================================================================
--- howto/PHP (version: 20)
+++ howto/PHP (version: 21)
@@ -79,17 +79,17 @@
 
 = Trouble shoot =
 If by some reason the server still doesn't interpret PHP files (i.e. your web client tries to download them) it means the PHP configurations, as described at [[howto/MAMP#job1]], are not taking effect.
-Typically,  the file ''"Include conf/extra/mod_php70.conf"'' - is not being processed; the file is missing; or the contents incorrect. That file contains the two "AddType" lines below.
+Typically,  the file ''"Include etc/apache2/extra/mod_php70.conf"'' - is not being processed; the file is missing; or the contents incorrect. That file contains the two "AddType" lines below.
 
 ==  Verify your config file again! ==
-Verify any changes you have made to the config file: /opt/local/apache2/conf/httpd.conf - The most common problem is that the files in the "extra" directory are not "readable"
+Verify any changes you have made to the config file: /opt/local/etc/apache2/httpd.conf - The most common problem is that the files in the "extra" directory are not "readable"
 All files in that directory should be "-rw-r--r--"
 
 {{{
-$ /opt/local/apache2/bin/apachectl -t
+$ /opt/local/sbin/apachectl -t
 }}}
 This will return either "Syntax OK" or a specific line by line error listing.
- The typical error message:  ''"Could not open configuration file /opt/local/apache2/conf/extra/httpd-mod_php70.conf: Permission denied"''
+ The typical error message:  ''"Could not open configuration file /opt/local/etc/apache2/extra/httpd-mod_php70.conf: Permission denied"''
 After correcting any config errors and saving the updated config file, simply run:
 {{{
 $ sudo port unload apache2
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/PHP>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'howto/PHP' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list