双击直接安装即可。
双击直接安装即可。
nginx-1.14.0\conf\nginx.conf
修改第44、58、70行的root
变量地址为自己实际地址
location / {
root C:/Users/eson/home/nginx-1.14.0/html;
index index.php index.html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime off;
charset utf-8,gbk;
}
location = /50x.html {
root C:/Users/eson/home/nginx-1.14.0/html;
}
location ~ \.php$ {
root C:/Users/eson/home/nginx-1.14.0/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
确认root
变量地址配置正确。
php-7.2.11\php.ini
修改第734行的地址为自己实际地址
extension_dir = "C:/Users/eson/home/php-7.2.11/ext"
确认地址配置正确。