Start the server /opt/homebrew/bin/httpd -k start Server's Module Magic Number: 20120211:105Ĭompiled using: APR 1.7.0, APR-UTIL 1.6.1Īccess the config from /private/etc/apache2/nf - /opt/homebrew/etc/httpd/nf ( homebrew ) -> remember to change the User and Group to your user and group settings Then you can do $/opt/homebrew/opt/httpd/bin/httpd -V To check if you have httpd running you can do $ps -ef |grep httpd ps -ef |grep httpdĠ 4182 1 0 Mon01PM ? 0:01.16 /Applications/MAMP/Library/bin/httpd -f /Library/Application Support/appsolute/MAMP PRO/conf/nf -k startĥ01 4183 4182 0 Mon01PM ? 0:00.00 /Applications/MAMP/Library/bin/httpd -f /Library/Application Support/appsolute/MAMP PRO/conf/nf -k startĥ01 4189 4182 0 Mon01PM ? 0:00.02 /Applications/MAMP/Library/bin/httpd -f /Library/Application Support/appsolute/MAMP PRO/conf/nf -k startĥ01 24659 24648 0 12:33AM ? 0:00.00 /opt/homebrew/opt/httpd/bin/httpd -D FOREGROUNDĥ01 24661 24648 0 12:33AM ? 0:00.01 /opt/homebrew/opt/httpd/bin/httpd -D FOREGROUNDĥ01 24662 24648 0 12:33AM ? 0:00.00 /opt/homebrew/opt/httpd/bin/httpd -D FOREGROUND Sudo launchctl unload -w /System/Library/LaunchDaemons/ 2>/dev/null Optional, if you are on Mac OS X Monterey you might need to uninstall the default Apache 2.4 sudo apachectl stop You just need to start it: sudo apachectl start restart: sudo apachectl restart check config: apachectl configtest You should already have Apache installed on mac
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |