摘要: $access_token = $this->access_token(); //获取access_token $json_url = 'https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token='.$access_token; $sc 阅读全文
posted @ 2024-03-22 11:28 童年的回忆 阅读(16) 评论(0) 推荐(0) 编辑
摘要: DB::connection()->enableQueryLog(); //SQL语句 $queries = DB::getQueryLog(); $query = end($queries); print_r($query); 阅读全文
posted @ 2024-03-21 15:59 童年的回忆 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-02-25 22:51 童年的回忆 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #使用root用户进入数据库 输入上面复制的root密码 mysql -u root -p #使用mysql use mysql #更新root用户权限,“%”指的是所有地址都可以访问 update user set Host='%' where User='root'; #最后一步,刷新权限即可 阅读全文
posted @ 2024-02-25 22:38 童年的回忆 阅读(7) 评论(0) 推荐(0) 编辑
摘要: remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.(大家也可以看一下,是github要求使用双因子验 阅读全文
posted @ 2024-02-24 12:32 童年的回忆 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 一、通过命令行(方法一) 设置代理: git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 取消代理: git config --globa 阅读全文
posted @ 2023-12-12 11:47 童年的回忆 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 为php打了redis扩展,宝塔安装了redis7,运行php项目报错:WRONGPASS invalid username-password pair or user is disabled.反复检查用户名密码没有问题,后来偶然发现: 将php.ini中的禁用函数putenv删除,问题解决 阅读全文
posted @ 2023-11-28 15:30 童年的回忆 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 由于Zerotier服务器在国外,导致在国内的速度不快,所以官方推荐设置自己的moon服务器做节点加速。moon服务器需要24小时不挂机,并且有固定ip,对硬件要求不高,所以云服务器比较符合做moon服务器 第一步:在云服务器linux上安装Zerotier客户端: curl -s https:// 阅读全文
posted @ 2023-11-02 15:01 童年的回忆 阅读(2790) 评论(0) 推荐(0) 编辑
摘要: 配置代理服务 export http_proxy=122.114.112.242:16816 export https_proxy=122.114.112.242:16816 删除代理服务: unset http_proxy unset https_proxy 阅读全文
posted @ 2023-11-02 14:56 童年的回忆 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 以ubuntu系统为例: 1.安装certbot: apt update apt upgrade sudo apt install certbot python3-certbot-nginx 2.验证Web服务器端口是否打开并允许通过防火墙 sudo ufw status verbose 3.获取S 阅读全文
posted @ 2023-10-17 11:24 童年的回忆 阅读(481) 评论(0) 推荐(0) 编辑
如果本博客解决了您的问题,可以微信支付宝打赏鼓励一下作者哦,在此表示感谢