From httpd -v
, I get the below:
Server version: Apache/2.4.16 (Unix)
Server built: Aug 22 2015 16:51:57
Also, etc/hosts
is as follows:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
I start the server using sudo apachectl start
and it returns no error. However, I am not able to connect to localhost
on a web browser. Would you suggest a solution? Thanks for your time.
macOS El Capitan no longer supported by Apple El Capitan was replaced by Sierra 10.12, High Sierra 10.13 and the current release, macOS 10.14 Mojave.
Please see if https://donatstudios.com/PHP-in-OS-X-Yosemite helps you re-configure the httpd.conf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With