原因分析 网上千篇一律是 composer self-update可以解决,但博主尝试过是不行的。 问题原因猜测:应该是composer的源没有相应的zlib_decode库,或者zlib_decode解释失败,博主当前…
分类:编程语言
PHPUnit安装笔记
支持版本 主版本 初始版本 PHP兼容性 支持 PHPUnit 8 2019年2月1日 PHP 7.2, PHP 7.3, PHP 7.4 在2021年2月5日结束支持 PHPUnit 7 2018年2月2日 PHP 7…
Laravel Boilerplate 安装笔记
原教程地址 官网地址:http://laravel-boilerplate.com/6.0/start.html githu地址: https://github.com/rappasoft/laravel-boilerp…
try_files实现wordpress伪静态
wordpress伪静态,大家通常都是用下面的配置(可以看这篇文章)文件来实现。 location / { if (-f $/index.html){ rewrite (.*) $1/index.html break; …
WordPress更改“固定链接”后 页面404原因及解决方法
原因分析:未添加nginx或者apache的重写规则(rewrite) 解决办法一,使用rewrite 在nginx 对应的主机配置文件的 loction / {} 中添加以下代码 if (-f $request_fil…
更换WordPress的网站域名
备份 首先,开始之前,请先做好网站的备份,备份好网站数据库和网站文件。尤其是数据库,一定要做好备份,以防操作过程中出现错误,我们可以使用备份的数据库重新进行操作 绑定域名 然后,将新域名做好解析和绑定操作。解析新域名,就…
certbot使用教程笔记大全
官方文档: https://certbot.eff.org/docs/using.html //安装 # yum install -y certbot 目录结构 # cd /etc/letsencrypt | – acc…
使用Let's Encrypt生成SSL通配符证书并通过CloudFlare验证自动更新
安装certbot # yum install -y certbot 为Certbot安装CloudFlare插件 # yum install -y python3-cloudflare python3-certbot-…
centos7安装PHP7.3安装笔记
删除之前的php版本 # yum -y remove php* php-common 安装并查看最新的源 # yum install epel-release //安装源 # rpm -ivh http://rpms.f…
php执行linux命令笔记
查看当前执行php的用户 echo shell_exec('whoami'); echo shell_exec("id -a"); //uid=997(nginx) gid=995(nginx) groups=995(n…