原创 fopen(): remote host file access not supported, file://

tp5 使用 TCPD 擴展 將 html 轉換爲 pdf ,並且保存 pdf 文件報錯 : fpen(): remote host file access not supported, file://./parame.pdf 利用

原创 yii2 url 重寫 隱藏 index.php 方法

第一步 : 不管是 apache 還是 nginx ,想要隱藏 Index.php 文件,需要打開 urlManager 組件的配置,在進行後續的操作 第二步 : nginx 下 : 配置文件 nginx.conf 內容如