phpMyAdminで容量が大きいファイルをインポートしたい

サイト運営
この記事は最終更新日から1年以上が経過しています。

phpMyAdminでデータベースのファイルをアップロードする際に「アップロードファイル: (最長: 32MiB)」というような表示があると思います。これより大きいファイルはアップロードできません。そこでその制限の変え方を教えます。

サーバーにある php.ini を書き換える

サーバーにある php.ini を編集することで制限を変えることができます。

;送信データの合計最大サイズ
post_max_size = 50M

;1ファイルの最大サイズ
upload_max_filesize = 50M

このような感じで書き換えるだけでphpMyAdminの方も変わります。

コメント

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

タイトルとURLをコピーしました