Tag Archives: nginx

Remove unnecessary php file please

When I analysis web server log file, I found this

That means someone checking my files, and want to get the MySQL password? It is better to prevent this location in web server!

Posted in Memo | Tagged , , , , | Comments Off on Remove unnecessary php file please

最近主机莫名其妙的挂了(已解决)

从前天开始,只有静态文件可以访问,所有的动态网页都是504网关超时…… 调试了好几次,都以为是apche2挂了,但是用fastcgi也是不行,最后觉得是不是要安装php的本地版本调试一下phpinfo(),尝试安装之后提示“磁盘剩余空间不足”!!!然后发现log分区已经500mb了,其它一些旧的文件也有1G左右,于是删除一些log,清空不需要的文件,重启服务器,一切又恢复正常了。

Posted in Memo | Tagged , , , | Comments Off on 最近主机莫名其妙的挂了(已解决)