Tekkaman

导航

 

2012年12月7日

摘要: 【PHP之开启Apache】 1、开启Apache:sudo apachectl start。 默认Apache主目录 :/Library/WebServer/Documents/ 测试成功方法:http://localhost 2、增加个人主目录配置文件:sudo vi /etc/apache2/users/你的用户名.conf 文档内容:<Directory "/Users/username/Sites/">Options Indexes MultiViewsAllowOverride AllOrder allow,denyAllow from all< 阅读全文
posted @ 2012-12-07 10:57 Tekkaman 阅读(285) 评论(0) 推荐(0)