PHP伪静态

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

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

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

猜你喜欢

转载自www.cnblogs.com/VRGamer-006/p/10841388.html