文章分类 - linux-------解决问题
遇到的错误问题
linux ---open_basedir restriction in effect
摘要:错误效果: 被限制了,不能访问 1. 看 php.ini 文件的open_basedir 是否限制了目录 ,默认没有限制 2. 看框架中的 .htaccess 文件 3. user.ini 是否限制 可以删除 (框架目录,会自动生成) 4. nginx
阅读全文
centOS 7.2 Can't connect to Mysql server on 'IP地址'
摘要:出现这个问题,主要是两方面: ① 权限 ② 3306端口是否被限制了 ①权限 看权限是否被限制. show grants for 'root'@'%'; 有的话就给权限 grant all privileges on *.* to 'root'@'%' identified by ‘123345′;
阅读全文
Centos 7.2 提示错误:-bash:service : command not found
摘要:在 centos 中, sbin 下没service 命令,就会报这个错误. 解决方法: 安装 yum list |grep initscripts 出现源文件 yum install initscripts 安装
阅读全文
浙公网安备 33010602011771号