3
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.

kusanagi でアップロードサイズ変更

Posted at

KUSANAGIのデフォルトのファイルアップロードサイズは、16MB となってます。

##もっと大きいサイズをアップロードする場合、nginxの場合は、3箇所必要です。

  • php.ini
  • /etc/nginx/nginx.d/saite_name.conf

/etc/php7/php.ini
post_max_size = 16M
upload_max_filesize = 16M

あとは、

  • /etc/nginx/nginx.d/sitename.conf

ここにも16M
って記述があります。
client_max_body_size

そして、kusanagiを再起動
kusanagi restart

これでOK

参考にしたサイト
https://webtomoblg.net/wordpress/wp-uploadsize/

3
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
3
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?