在Mac OSx中设置Apache

时间:2014-12-02 23:51:39

标签: php macos apache osx-yosemite

我在Yosemite的Mac Book Air中遵循了这些说明:

http://echo.co/blog/os-x-109-local-development-environment-apache-php-and-mysql-homebrew

我想我搞砸了一切。当我尝试查找apache实例时,我看到了这些文件夹。

 /private/etc/apache2
 /private/var/log/apache2
 /Users/main/Library/Containers/com.bitnami.mampstack/Data/app-5_4_9/apache2
 /Users/main/Library/Containers/com.bitnami.mampstack/Data/shared/apache2
 /usr/include/apache2
 /usr/libexec/apache2
 /usr/local/Cellar/php55/5.5.19/libexec/apache2
 /usr/local/etc/apache2
 /usr/local/var/apache2
 /usr/local/var/log/apache2

对于httpd,我看到:

 /usr/local/var/run/apache2/Library/WebServer/share/httpd
 /usr/sbin/httpd
 /usr/share/httpd 

我的问题是:如何恢复所有这些并为mac安装原始的apache?

感谢您的帮助。

0 个答案:

没有答案