Issue
I have previously installed Apache on my Mac Mini using Homebrew, but I'm currently using MAMP. When I issue the terminal command httpd -S
to check Apache configurations, it checks the Homebrew configurations. Is there a way I can test the configurations for MAMP? I would like to use the same httpd -S
command, but if there's another preferred way to do it for MAMP, that's fine too.
Solution
You do it with the -f
flag, like this:
httpd -f /Applications/MAMP/conf/httpd.conf -S
This is in httpd
options:
Options:
...
-f file: specify an alternate ServerConfigFile
Answered By - David Rhoden Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.