0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Wordpress+Nginx アップロード上限を超えています。

Last updated at Posted at 2017-10-23

アップロード上限を超えています。

このエラーは、PHPの設定とNginxの設定で引っかかっています。

PHP.iniを設定する

/etc/php.ini
アップロード可能サイズ
upload_max_filesize = 10M

POST可能サイズ
post_max_size = 10M

PHPのメモリサイズ
memory_limit = 128M

Nginxを設定する

/etc/nginx/nginx.conf
http {
    # 略
    client_max_body_size 10M;
    # 略
}

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?