![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题记录
huangwy1991
PHP/go
展开
-
iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080...
Error response from daemon: driver failed programming external connectivity on endpoint relaxed_villani (711bd28c90ddc10a2cb2771e599fec3fda0dfb2a2fb80885a5077009efb4edff): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j D.原创 2022-01-19 13:52:37 · 4516 阅读 · 2 评论 -
主从数据库同步问题:Relay log read failure: Could not parse relay log event entry.
主从数据库同步问题:Relay log read failure: Could not parse relay log event entry.解决mysql> show slave status\G;*************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Maste原创 2021-12-14 10:49:12 · 1295 阅读 · 0 评论 -
composer update内存不足问题
composer update内存不足问题composer update内存不足问题,云服务器无法扩容的情况下:查看composer路径 whereis composer php -d memory_limit=-1 /usr/local/bin/composer update原创 2021-02-08 10:12:34 · 300 阅读 · 0 评论 -
composer Your requirements could not be resolved to an installable set of packages
composer Your requirements could not be resolved to an installable set of packages原因原因安装的扩展包的最新版本,对应的环境不匹配;本地环境PHP版本为7.2,所以安装失败。解决composer require watson/rememberable "3.2.1" --ignore-platform-reqs...原创 2021-03-16 17:23:02 · 190 阅读 · 0 评论 -
ERROR! MySQL is running but PID file could not be found
ERROR! MySQL is running but PID file could not be found解决centos中启动、重启,或者查看mysql状态时报错ERROR! MySQL is running but PID file could not be found解决第一步:找到 mysql 目录下的 mysql-bin.index 文件,然后删除 find / -name mysql-bin.index /usr/local/mysql/var/mysql-bin.ind原创 2021-04-05 15:39:10 · 773 阅读 · 0 评论 -
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
@[TOC](ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists)centos中启动、重启,或者查看mysql状态时报错ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists解决删除var/lock/subsys/mysql下的mysql 文件rm -rf var/lock/subsys/mysql.原创 2021-04-05 15:44:50 · 9452 阅读 · 0 评论 -
composer install报Undefined index: process
composer install报Undefined index: process解决composer install报Undefined index: process错误,进程依赖的proc_open 这个函数不可用解决禁用函数去掉这个即可,在php.ini文件里面 使用/proc_open 找到去除这个单词即可!...原创 2021-04-05 16:03:28 · 471 阅读 · 0 评论 -
buff/cache 除缓冲区缓存和页面缓存占用内存过大时处理
free -mcat /proc/sys/vm/drop_caches 0默认是0,不清除缓冲区缓存和页面缓存可用值 0 到 3echo 1 > /proc/sys/vm/drop_caches:表示清除pagecache。echo 2 > /proc/sys/vm/drop_caches:表示清除回收slab分配器中的对象(包括目录项缓存和inode缓存)。slab分配器是内核中管理内存的一种机制,其中很多缓存数据实现都是用的pagecache。echo 3 > /p原创 2021-03-30 11:40:53 · 309 阅读 · 0 评论 -
编译时 configure: error: Cannot find php-config. Please use --with-php-config=PATH 错误
configure: error: Cannot find php-config. Please use --with-php-config=PATH错误原因解决错误报错: configure: error: Cannot find php-config. Please use --with-php-config=PATH 原因–with-php-config=PATH 后面路径出错了。...原创 2020-03-25 16:36:30 · 3096 阅读 · 0 评论 -
代码部署到服务器上遇到问题记录
问题记录环境问题1问题2环境服务器环境:LNMP (centos7.3,lnmp.org一键安装包)问题1lnmp 下无法具体显示错误 ,仅提示 500 错误在php.ini 中 查找 display_errors : on问题2PHP_ADMIN_VALUE 指向目录错误,grep -rn open_basedir ./ 命令查找,发现目录指向到了public1、在nginx...原创 2019-08-13 18:18:48 · 289 阅读 · 0 评论