Apache
第一步:
打開phpstudy=>其他選擇選單=>php擴展及設定=>Apache 模塊
第二步:
找到rewrite_module,開啟rewrite_module就行了
Nginx
打開PHPstudy

nignx/conf下有vhosts.conf這個檔案的話,在這個檔案里配置,當有這個檔案的時候,在nginx.conf里配置是不起作用的,沒有的話就在nginx.conf檔案配置在location/{}
加上這句 try_files $uri $uri/ /index.php?$query_string;

修改完成之后重啟下PHPstudy即可!
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/396145.html
標籤:其他
上一篇:網路篇面試題
下一篇:19C RAC跨網段修改IP
