文章分类 -  linux-------解决问题

遇到的错误问题
linux ---open_basedir restriction in effect
摘要:错误效果: 被限制了,不能访问 1. 看 php.ini 文件的open_basedir 是否限制了目录 ,默认没有限制 2. 看框架中的 .htaccess 文件 3. user.ini 是否限制 可以删除 (框架目录,会自动生成) 4. nginx 阅读全文
posted @ 2017-11-24 15:14 zengyanlove 阅读(119) 评论(0) 推荐(0)
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′; 阅读全文
posted @ 2017-10-13 10:39 zengyanlove 阅读(113) 评论(0) 推荐(0)
Centos 7.2 提示错误:-bash:service : command not found
摘要:在 centos 中, sbin 下没service 命令,就会报这个错误. 解决方法: 安装 yum list |grep initscripts 出现源文件 yum install initscripts 安装 阅读全文
posted @ 2017-10-13 10:04 zengyanlove 阅读(194) 评论(0) 推荐(0)