APMServ 配置记录

下载版本是5.2.6,它采用压缩率更高的7zip


 

解压后拷贝到c盘


 

点击APMServ.exe就可以启动了


 

注意:

1. SSL 有时需要关掉,否则apache起不来

2. 多数时候我只用apache,因此MySQL不打勾了

3. 有时还出现 “You don't have permission to access / on this server.”  提示。查了一下apache手册找到问题所在处。这里定义了默认对网站根的访问权限。

把 http.conf文件

扫描二维码关注公众号,回复: 605826 查看本文章
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

改为

<Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
</Directory>

再点击启动,就没问题了。

 

4. 虚拟主机的配置如下

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "F:/work"
    ServerName sites
    ErrorLog "logs/demo.sites-error.log"
    CustomLog "logs/demo.sites.access.log" common
</VirtualHost>
  

 

猜你喜欢

转载自snandy.iteye.com/blog/2101679
今日推荐