kusanagiの最大アップロードサイズの変更

2019/07時点の情報です

kusanagi(php7)でのメディアのアップロード最大サイズは、デフォルトで16MBに制限されています。

次の手順でお好みのサイズに変更して下さい。

# /etc/php7.d/php.ini の変更
# 658行あたりの設定値を適当に変更する
post_max_size = 16M
# 804行あたりの設定値を適当に変更する
upload_max_filesize = 16M
# 保存終了

# 設定値のリロード(root権限にて)
kusanagi php7

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny