切記要把新的php版本配到環境變量,cmd才會生效
php7.1.11下載地址 http://windows.php.net/download/
下載之后,解壓。

重名的為php-7.1.11-nts

移動到phpStudy的php目錄下

然后重啟phpStudy即可


然后切換版本就好了。
phpstudy nginx 偽靜態
vhosts.conf
location / {
index index.html index.htm index.php;
#autoindex on;
try_files $uri $uri/ /index.php$is_args$args;
}
加try_files $uri $uri/ /index.php$is_args$args;就可以了
轉載:https://www.cnblogs.com/yxhblogs/p/7861323.html
