摘要:
Java代码: @ResponseBody @RequestMapping(value = "/getDate", produces="text/event-stream;charset=UTF-8") public void getDate(HttpServletResponse response 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http:// 阅读全文
摘要:
mysql默认的配置sql_mode包含ONLY_FULL_GROUP_BY,我们要去掉,网上找了好多帖子,大多数copy来copy去,说的乱七八糟,很无奈,最后折腾了半天才搞定,主要是注意2点 1、先明白你的mysql版本,mysql8是没有 NO_AUTO_CREATE_USER,所有Sql_m 阅读全文
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 阅读全文