William,

Last night and this morning I went and updated the MacPorts wiki HowTos with 
the updated apache2 2.4.x paths.

let me know if I missed anything.

> On Oct 22, 2017, at 12:48 PM, William H. Magill <[email protected]> wrote:
> 
> On Oct 20, 2017, at 10:10 PM, William H. Magill <[email protected] 
> <mailto:[email protected]>> wrote:
>> 
>> Noting that the document had not been updated in 2 years, 
>> I inserted the “Notes” from the port file for Apache2 into the beginning of 
>> the HowTo document: “ How to setup Apache2"
>> https://trac.macports.org/wiki/howto/Apache2
>> 
>> Nothing fancy — I just added a dated note under “Versions."
>> 
>> One would assume that some significant changes to the document will be 
>> needed, minimally to account for the changes in file locations.
>> Similarly, I assume that the MMAP document will need to be updated as well.
>> 
>> ———————<cut here>------------
>> October 2017 - Apache 2.4.x
>> 
>> In October of 2017 Apache 2.2.x was upgrade to Apache 2.4.x. This involved a 
>> significant set of changes as listed in the Notes of the portfile:
>> 
>> Apache2 has been migrated from the 2.2.x to the 2.4.x branch.
>> 
>> The install paths have been changed to no longer violate the MacPorts mtree:
>> 
>>      • The binaries are now under /opt/local/sbin/ (rather than under 
>> /opt/local/apache2/bin/)
>>      • The configure files are now under /opt/local/etc/apache2/ (rather 
>> than under /opt/local/apache2/conf/)
>>      • The modules are now under /opt/local/lib/apache2/modules/ (rather 
>> than under /opt/local/apache2/modules/)
>>      • The web root is now located under /opt/local/www/apache2/html/ 
>> (rather than under /opt/local/apache2/htdocs/)
>>      • The cgi-bin is now located under /opt/local/www/apache2/cgi-bin/ 
>> (rather than under /opt/local/apache2/cgi-bin/)
>>      • The logs are now located under /opt/local/var/log/apache2/ (rather 
>> than under /opt/local/apache2/logs/)
>>      • The manual is now located under /opt/local/www/apache2/manual/ 
>> (rather than under /opt/local/apache2/manual/)
>>      • The manual (man) pages are still at /opt/local/share/apache2/man/
>> You can move your htdocs and cgi-bin to the new locations, or edit 
>> /opt/local/etc/apache2/httpd.conf to point at the old locations.
>> ———————<cut here>——————
> 
> I have created a new How To document -   Apache2.4.x - 
> https://trac.macports.org/wiki/Apache2.4.x 
> <https://trac.macports.org/wiki/Apache2.4.x>
> 
> It is about 90% completed at the moment - I haven’t done/verified the SSL 
> portion yet.  I expect to do that this afternoon.
> 
> I basically copied the previous document, updated the file names and 
> eliminated a couple of items no longer relevant to High Sierra.
> 
> It now needs additional sets of eyes to proofread and verify the content.
> 
> Then someone needs to determine if the old document should be retained as 
> Apache2 2.4.x is now the default MaPorts distribution, and modify the main 
> HowTo page accordingly.
> 
> ====
> And, for what it’s worth. I note that High Sierra now includes both Apache2 
> 2.4.27 and PhP 7.1 in its distribution … already integrated.
> 
> There are a couple of tutorial blogs I found on the web:
> 
> Set up localhost on macOS High Sierra (Apache, MySQL, and PHP 7) with 
> SSL/HTTPS
> https://websitebeaver.com/set-up-localhost-on-macos-high-sierra-apache-mysql-and-php-7-with-sslhttps
>  
> <https://websitebeaver.com/set-up-localhost-on-macos-high-sierra-apache-mysql-and-php-7-with-sslhttps>
> 
> Install Apache, MySQL, PHP on macOS High Sierra 10.13
> https://coolestguidesontheplanet.com/install-apache-mysql-php-and-phpmyadmin-on-macos-high-sierra-10-13/
>  
> <https://coolestguidesontheplanet.com/install-apache-mysql-php-and-phpmyadmin-on-macos-high-sierra-10-13/>
> 
> T.T.F.N.
> William H. Magill
> 
> # iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.13
> # Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.13
> 
> [email protected] <mailto:[email protected]>
> [email protected] <mailto:[email protected]>
> [email protected] <mailto:[email protected]>


Marius
--
Marius Schamschula




Reply via email to