logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Question Mac's default apache from command line
Author
winkylocc



Joined: 01 Nov 2015
Posts: 10
Location: US

PostPosted: Thu 26 Nov '15 4:17    Post subject: Question Mac's default apache from command line Reply with quote

I'm having the same ongoing issue with apache where localhost/ by itself displays what it is supposed to. Along the way I also found that the phpinfo page is also not displaying with localhost. My question is if there is a possibility that having MAMP installed could cause a conflict with running Mac's default apache from command line?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 26 Nov '15 18:50    Post subject: Reply with quote

Is the defualt apache running? Is the document root correct where you put the file?

See https://wiki.apache.org/httpd/DistrosDefaultLayout#Mac_OS_X_.28Leopard.2C_Apache_httpd_2.2.29:

if you still have a question please ask again.
Back to top
winkylocc



Joined: 01 Nov 2015
Posts: 10
Location: US

PostPosted: Fri 27 Nov '15 16:00    Post subject: Reply with quote

I started apache through terminal so I assume the default is running. The file is stored in my Sites folder which I believe I have designated as the document root. Full path is /users/MyMacbook/Sites
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Sat 28 Nov '15 10:57    Post subject: Reply with quote

You can figure out which config it uses.

Assume you use apachectl

Code:

sudo /usr/sbin/apachectl -S
Back to top


Reply to topic   Topic: Question Mac's default apache from command line View previous topic :: View next topic
Post new topic   Forum Index -> Apache