參考程式碼
server{
listen 80;
server_name test.hrbeu.online;
root C:\phpstudy_pro\WWW\wordpress;
location / {
index index.php index.html index.htm default.php default.htm default.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:83;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
https://www.it610.com/article/1280812115208192000.htm
這篇部落格後來說的ph,只是用來管理數據庫的工具,如果用sqlyog等就不用管。
https://www.jb51.net/article/148186.htm
https://blog.csdn.net/xixiyuguang/article/details/88891698