php使用redis作为session

1、安装redis sudo apt-get install redis-server 2、修改php.ini配置 session.save_handler = redis session.save_path = "tcp://192.168.88.138:6379" # 若设置了连接密码, 则使用如下 session.save_path = "tcp://127.0.0.1:6379?auth=...
2021/08/14   wyd621   607

Apache error [notice] Parent: child process exited with status 3221225477 — Restarting

解决地址:https://stackoverflow.com/questions/1138269/apache-error-notice-parent-child-process-exited-with-status-3221225477-res 解决方法: This problem often happens in Windows because of smaller Apache’s defa...
2021/02/03   wyd621   1365

如何整个替换git master分支?

最近需要将一个项目的master分支用另一个分支完全替换, 查找了相关资料, 网友给出了两种方案。 假设需要将seotweaks分支替换成master。 1、 1 2 3 4 git checkout seotweaks git merge -s ours master git checkout master git merge seotweaks -s ours是--strat...
2020/12/22   wyd621   815

lets encrypt 泛域名证书部署

#x下载certbot-auto 脚本 wget https://dl.eff.org/certbot-auto #设置可执行权限 chmod a+x ./certbot-auto #获取普通域名证书 ./certbot-auto certonly -d easycorp.cn -d www.easycorp.cn -d e.easycorp.cn -d devel.easycorp.cn -...
2020/08/19   wyd621   1457

龙芯编辑安装 php 和 nginx

安装前准备 对于nginx编译安装需要先安装编译 的工具,然后再安装nginx依赖 yum -y install gcc gcc-c++ autoconf automake make       yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel 添加www用户 添加w...
2020/05/21   wyd621   3524
1/8