APM Express(apache+php+mysql)以及nginx的服务器配置
程序员文章站
2022-04-09 14:21:27
...
APM Expres:C:\apmxe\etc目录下的httpd.conf.template配置文件
Include %APMXE%\etc\php.conf
//端口默认是9000
DocumentRoot "E:/FlexWork_Bin/kungfu/"
ServerName 127.0.0.1
Options Indexes FollowSymLinks
IndexOptions FancyIndexing FoldersFirst NameWidth=* VersionSort XHTML
AllowOverride All
Order allow,deny
Allow from all
nginx:E:\nginx-1.1.1\conf的nginx.conf配置文件
server {
listen 80;//端口为80
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root E:/FlexWork_Bin/kungfu/;
index index.html index.htm;
}
两个服务器可同时启动
上一篇: php定时执行任务实现方法详解