Home > php教程 > php手册 > body text

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

WBOY
Release: 2016-10-21 20:00:09
Original
1202 people have browsed it

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

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!