最新文章
-
关于Thinkphp程序报 Class ‘think\Image’ not found 问题解决方法
解决方法如下: 一、 把 ./vendor/topthink/think-image/src下的文件 全部全部复制到 (包括image.php和image文件夹) ./thinkphp/library/think 目录下 ,在登录后台 就可以正常上传了。(也可能是 /core/library/think 目录) 二、 在报错的文件中 直接引用image.php文件 require(ROOT_PATH.'/tp5/vendor/topthink/thi……admin 2024-01-29
0 -
IIS利用web.config隐藏部分响应头信息或 隐藏服务器响应头中php版本信息的方法
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <outboundRules rewriteBeforeCache="true"> <rule name="Remove Server header"> <match serverVariable="RESPONSE_SERVER" pattern=".+" /> <action type="Rewrite" value="" />……admin 2024-01-29
0 -
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. 原因是使用apache 由于启用HTTP2,浏览器默认在同证书、同IP的情况下会采取连接复用 ,如果配置两个站点的配置不通 或根证书不一致,会导致服务器拒绝浏览……admin 2023-12-29
0 -
IIS访问提示“请求筛选模块被配置为拒绝包含双重转义序列的请求。” 解决方案。
报错信息如下: HTTP 错误 404.11 - Not Found 请求筛选模块被配置为拒绝包含双重转义序列的请求。 以下是解决方法 方法1. wwwroot下建立web.config 内容如下: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <security> <requestFiltering allowDoubl……admin 2023-12-29
0 -
/www/server/php/74/sbin/php-fpm:symbollookup error:/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/zip.so:undefined symbol: zip libzip version
yum install -y cmake3 # 使用cmake3编译libzip wget https://libzip.org/download/libzip-1.8.0.tar.gz --no-check-certificate tar zxvf libzip-1.8.0.tar.gz && cd libzip-1.8.0/ mkdir build && cd build/ cmake3 .. make && make install # 重新编译zip扩展 wget http://pecl.php.net/get……admin 2023-12-29
0 -
解决 You are using pip version 8.1.2, however version 23.2.1 is available 报错。
在安装 docker-compose的时候需要先安装 或升级pip 使用命令 1、 pip install --upgrade pip 运行后会报错 如图。 2、原因是 yum install python-pip 时,CentOS7 默认安装的python版本是2.7。它不支持更新到最新版本 解决办法: 安装python3的pip ,使用以下命令 yum install python3-pip 使用pip3 指令升级……admin 2023-12-29
0 -
failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 – Not Found
failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try. https://packages.endpointdev.com/rhel/2.1903/os/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found 解决办法: 1 添加 docker仓库 yum-config-manager --add-repo https://download.docker.com/linux/centos/do……admin 2023-12-29
0 -
wordpress使用代码向百度蜘蛛主动推送链接
简介说明 1. 站长主动向百度搜索推送数据,可缩短爬虫发现网站链接时间,可加快爬虫抓取速度,但无法解决网站内容是否收录问题。 2. 百度搜索资源平台为站长提供链接提交通道,但不保证一定能够收录提交的链接。 3.通过程序代码方式,将根据自己需要将网站的链接提交给百度蜘蛛。 4.本程序代码是将文章的id提取出来,再……admin 2023-12-28
0 -
解决 -bash: docker-compose: command not found
解决 -bash: docker-compose: command not found 今天安装 Nginx Proxy Manager ,运行docker-compose 命令的时候报错 原因是没有安装 docker-compose ,可以通过pip 或 pip3指令来安装,如果您是CentOS7 ,pip命令安装 docker-compose 可能会报错,可以参考教程处理下 https://www.wenzhan.cc/article/143 使用……admin 2023-11-29
0 -
CentOS 7.x 编译安装 高版本 git出错解决方案
CentOS操作系统默认安装的git版本是 1.8.3.1 ,此版本有任意文件写入漏洞。 需要升级到2.30.9 及以上版本 才可以修复此漏洞。 修复中遇到了问题 imap-send.o: In function `sk_GENERAL_NAME_num': /usr/local/include/openssl/x509v3.h:165: undefined reference to `OPENSSL_sk_num' imap-send.o: In function `s……admin 2023-11-29
0

