Win11安装Docker报错Update the WSL kernel by running “wsl --update“ or follow instructions at https://doc
摘要:
Win11安装Docker问题:Win11正式版升级安装Docker(基于WSL2) Update the WSL kernel by running "wsl --update" or follow instructions at https://docs.microsoft.com/window 阅读全文
摘要:
./configure: error: C compiler cc is not found 解决办法 apt install g++ ./configure: error: the HTTP rewrite module requires the PCRE library. 解决办法 apt in 阅读全文
摘要:
尝试降级 到 php:7.4.30-fpm 即可恢复正常 阅读全文
摘要:
错误: checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 阅读全文
摘要:
我可以安装 composer 在我的测试 dockerfile 中添加这一行: # Install Composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --file 阅读全文
摘要:
解决方案: 加上一行: if(ob_get_contents()) ob_clean(); 阅读全文
摘要:
nginx 配置文件 config 中 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 要换成 fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_n 阅读全文
摘要:
docker cp 本地文件路径 容器ID/容器NAME:容器内路径 阅读全文
摘要:
docker 容器默认会把容器内部第一个进程,也就是pid=1的程序作为docker容器是否正在运行的依据,如果docker 容器pid挂了,那么docker容器便会直接退出。 docker run的时候把command做为容器内部命令,如果你使用nginx,那么nginx程序将后台运行,这个时候n 阅读全文
摘要:
#测试php-fpm配置 /usr/local/php/sbin/php-fpm -t /usr/local/php/sbin/php-fpm -c /usr/local/php/etc/php.ini -y /usr/local/php/etc/php-fpm.conf -t #启动php-fpm 阅读全文
摘要:
【步骤一】cat /etc/passwd cat /etc/passwd查看所有的用户信息,详情如下图 【步骤二】cat /etc/passwd|grep 用户名 cat /etc/passwd|grep 用户名,用于查找某个用户,如下图 【步骤三】cat /etc/group cat /etc/g 阅读全文