PHP伪静态

apache配置文件httpd.conf修改“AddType application/x-httpd-php .xxx”,“.xxx”是想要的后缀名。

把文件后缀改成自定义的后缀名。

phpStorm为防止报错,在Settings->File Types->Recognized File Types->PHP下面新增某后缀名即可。

posted @ 2019-05-09 22:03  Helix006  阅读(412)  评论(0编辑  收藏  举报