Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac localhost is not available after upgrade to OSX El Capitan 10.11.1

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.

like image 243
Sami Avatar asked Oct 23 '15 01:10

Sami


People also ask

Is El Capitan still supported in 2020?

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.


1 Answers

Please see if https://donatstudios.com/PHP-in-OS-X-Yosemite helps you re-configure the httpd.conf

like image 87
jpaljasma Avatar answered Oct 21 '22 19:10

jpaljasma