上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 1.确定3306端口是否对外开放 如果是阿里云服务器,需要添加安全组规则 2.授权 执行sql,账号密码按照自己服务器而定 以上是本人的解决经历 阅读全文
posted @ 2018-01-05 16:26 zph前端 阅读(1309) 评论(0) 推荐(0) 编辑
摘要: 更改mysql数据库root的密码 首次进入数据库是不用密码的: [root@localhost ~]# /usr/local/mysql/bin/mysql -uroot Welcome to the MySQL monitor. Commands end with ; or \g. Your M 阅读全文
posted @ 2018-01-05 14:04 zph前端 阅读(197) 评论(0) 推荐(0) 编辑
摘要: function: 参考地址:http://www.thinkphp.cn/topic/23686.html 阅读全文
posted @ 2018-01-03 17:52 zph前端 阅读(2862) 评论(0) 推荐(0) 编辑
摘要: 重要的事情: 前提: vhost.conf被引入 修改两个文件,文件所在路径,看图片上sublime编辑器,hosts和vhost.conf配置的域名必须一致 参考文档:http://blog.csdn.net/u014173997/article/details/50407586 阅读全文
posted @ 2018-01-03 15:37 zph前端 阅读(121) 评论(0) 推荐(0) 编辑
摘要: vhost/xxx.conf配置图,重点是红色框框 研究了两三天 ,至此thinkphp5 路由,隐藏index.php全部解决 感谢网友的分享:http://blog.csdn.net/gaoxiufu/article/details/78873133 阅读全文
posted @ 2018-01-03 09:40 zph前端 阅读(641) 评论(0) 推荐(0) 编辑
摘要: candir() has been disabled for security reasons 解决办法: 进入到php的配置目录,编辑php.ini cd /usr/local/php/etcvi php.ini 搜索scandir (/scandir )后删掉,保存退出。 重启nginx和php 阅读全文
posted @ 2017-12-28 16:48 zph前端 阅读(1690) 评论(0) 推荐(0) 编辑
摘要: 1.可能是文件权限问题,看一下网站所在的文件夹权限,用户组和用户名是否属于www:www,因为nginx.conf顶头写的是user www:www 阅读全文
posted @ 2017-12-25 11:41 zph前端 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 以下仅LNMP 1.4版本的解决办法,LNMP其他版本请参考官网https://lnmp.org/faq/lnmp-vhost-add-howto.html#user.ini 解决方法一:LNMP 1.4上也可以直接使用lnmp1.4/tools/ 目录下的 ./remove_open_basedi 阅读全文
posted @ 2017-12-19 15:55 zph前端 阅读(3935) 评论(0) 推荐(0) 编辑
摘要: 切换到root用户:su - root修改文件所属用户和用户组:chown 用户:用户组 文件名如果用户和用户组是www,那么需要执行命令如下:chown www:www filename -R (文件的话去掉-R) 阅读全文
posted @ 2017-12-19 14:32 zph前端 阅读(1262) 评论(0) 推荐(1) 编辑
摘要: 直接复制代码,无需修改 第一:// %:表示从任何主机连接到mysql服务器 第二: 然后再使用navicat连接,就可以连接上了 阅读全文
posted @ 2017-12-13 14:21 zph前端 阅读(510) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页