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
620
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
1381
mysql8 添加 mysql_native_password加密方式用户。
php暂时不支持 caching_sha2_password 加密方式。
可以新建用老版加密方式初始化密码的用户
CREATE USER username@localhost identified with mysql_native_password by 'password';
再授予权限
GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost'...
2019/10/29
wyd621
832
英雄无敌3秘籍
英雄无敌3死亡阴影秘籍
按Tab键输入:
nwcagents = 在英雄部队的空位里加上10个黑骑士
nwclotsofguns = 得到所有战争机器
nwcneo = 升一级
nwctrinity = 在英雄部队的空位里加上5个天使长
nwcfollowthewhiterabbit = 幸运最大
nwcnebuchadnezzar = 无限移动
nwcmorpheus = 士气最大
...
2019/04/21
wyd621
811
git根据tag创建branch
1、到git目录,checkout Tag.
z@wyd:~/pms$ git checkout -f zentaopms_9.8_20180118
Note: checking out 'zentaopms_9.8_20180118'.
You are in 'detached HEAD' state. You can look around, make experimental
chan...
2018/03/13
wyd621
676