AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-791935

Thaer z's questions

Martin Hope
Thaer z
Asked: 2021-08-28 13:42:58 +0800 CST

如何增加 Nginx 上的 PHP 文件大小限制?

  • 2

当我在 phpmyadmin 中上传文件时,这个问题出现在413 Request Entity Too Large 我的配置中php.ini

post_max_size = 100M
upload_max_filesize = 100M
memory_limit = 256M

我有带有 FASTCGI php-fpm 127.0.0.1:9000 的 NGINX 服务器,其中 php.ini 在 /etc/php5/fpm/php.ini 下

我在 php.ini 中增加了 upload_max_filesize 和 post_max_size

Fastcgi 参数是这样的

fastcgi_param PHP_VALUE "upload_max_filesize = 100M \n post_max_size=100M"

client_max_body_size 100M;

我重新启动了php-fpm和nginx,但问题仍然存在

php web-server nginx
  • 2 个回答
  • 448 Views
Martin Hope
Thaer z
Asked: 2021-08-26 05:11:41 +0800 CST

后缀:所有出站电子邮件上的“连接超时”

  • 0
Aug 25 12:56:20 mail postfix/pickup[375941]: ACF7F200E248: uid=0 from=<root>
Aug 25 12:56:20 mail postfix/cleanup[376172]: ACF7F200E248: message-id=<20210825125620.ACF7F200E248@mail.localdomain>
Aug 25 12:56:20 mail postfix/qmgr[375942]: ACF7F200E248: from=<root@mail.localdomain>, size=449, nrcpt=1 (queue active)
Aug 25 12:56:20 mail postfix/smtp[377199]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1a]:25: Network is unreachable
Aug 25 12:56:31 mail postfix/smtp[376174]: connect to alt1.gmail-smtp-in.l.google.com[142.251.9.27]:25: Connection timed out
Aug 25 12:56:31 mail postfix/smtp[376174]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4025:c03::1b]:25: Network is unreachable
Aug 25 12:56:31 mail postfix/smtp[376174]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:4010:c1c::1a]:25: Network is unreachable
Aug 25 12:56:31 mail postfix/smtp[376174]: E2CD82020B3F: to=<example@gmail.com>, relay=none, delay=60, delays=0.03/0.03/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:4010:c1c::1a]:25: N>
Aug 25 12:56:50 mail postfix/smtp[377199]: connect to gmail-smtp-in.l.google.com[66.102.1.26]:25: Connection timed out
Aug 25 12:56:50 mail postfix/smtp[377199]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4025:c03::1b]:25: Network is unreachable

我使用 VPS azure(Centos 8),我在线检查了端口 25 但没有被阻止(工作),我使用 telnet 检查了端口

$ telnet 51.xx.xx.xx 25
output:
220 mail.localdomain ESMTP Postfix
centos smtp postfix
  • 1 个回答
  • 255 Views
Martin Hope
Thaer z
Asked: 2021-08-12 04:56:40 +0800 CST

访问 phpmyadmin 时如何阻止 DNS 服务器直接传输到我的网站

  • -1

我在同一个域上有 4 个 Web 服务器,当我访问51.32.xx.xx/phpmyadmin它时直接更改为mydomain.com/phpmyadmin 我可以阻止它更改的方式,因为我无法访问到另一个 MySQL 服务器

centos mysql wordpress phpmyadmin
  • 2 个回答
  • 60 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve