phpstudy配置php7.1.11 + phpstudy nginx偽靜態


切記要把新的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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM