Apache2 不适用于我的新 Mac Snow Leopard 安装 (Mac OS X 10.6.4) [英] Apache2 doesn't work on my new Mac Snow Leopard installation (Mac OS X 10.6.4)

查看:36
本文介绍了Apache2 不适用于我的新 Mac Snow Leopard 安装 (Mac OS X 10.6.4)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在老老虎上安装了雪豹,我尝试通过点击系统首选项->共享->网络共享来运行apache2.它似乎运行,但如果我尝试访问 http://localhosthttp://127.0.0.1http://192.168.1.6/(我的网络上的 ip)它不起作用.我不知道日志文件在哪里(/private/var/log/apache2/上没有文件).我已经看到/etc/httpd.conf 中的端口是 80.但是我在活动监控面板上看不到该进程:没有任何 httpd 或 apache 进程正在运行...

I've installed snow leopard on the old tiger and I tried to run apache2 by clicking system preferences->sharing->web sharing. It seems to run but if I try to access http://localhost or http://127.0.0.1 or http://192.168.1.6/ (my ip on my network) it doesn't work. I don't know where is the log file (no files on /private/var/log/apache2/). I've seen that the port in /etc/httpd.conf is 80. But I cannot see the process on Activity Monitoring panel: there is not any httpd or apache process running...

推荐答案

这可能不是您要寻找的答案,但 MAMP 对我来说似乎运行得相对较好.

This may not be the answer you are looking for, but MAMP seems to run relatively well for me.

你也可以试试

sudo apachectl start

来自命令行.

这篇关于Apache2 不适用于我的新 Mac Snow Leopard 安装 (Mac OS X 10.6.4)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆