Home  >  Article  >  php教程  >  APM Express (apache+php+mysql) and nginx server configuration

APM Express (apache+php+mysql) and nginx server configuration

WBOY
WBOYOriginal
2016-10-21 20:00:091232browse

APM Express: httpd.conf.template configuration file in the C:apmxeetc directory

Include %APMXE%etcphp.conf
//The default port is 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: nginx.conf configuration file of E:nginx-1.1.1conf

server {
Listen 80; // port is 80 l ​ ​ ​server_name localhost;


​ ​ ​ #charset koi8-r;


          #access_log   logs/host.access.log   main;


Location / {
Root Index index.html index.htm;
        }



Two servers can be started at the same time

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn