mdoctor过滤敏感词防止恶意提权(重要)
1、Controller\reg.php 第42行附近
将
if($member_id)
改为
if($member_id || in_array($member,array('root','mysql','admin','test')))
2、Controller\host.php 第31行附近
将
elseif(...
标签: mdoctor 虚拟主机销售系统 mysql php mdoctor安全
MySQL server PID file could not be found! ... failed!
检查磁盘是否爆满df -h
结合du -sh 查看具体是哪个目录爆满了
du -sh * 显示当前目录下所有文件的大小
如果是mysql日志文件爆满,解决方法如下:
删除/usr/local/mysql/data下的mysql-bin.000001等文件
注释/etc/my.cnf...