Import file size limit in PHPMyAdmin

后端 未结 27 2603
遇见更好的自我
遇见更好的自我 2020-11-27 08:46

I have changed all the php.ini parameters I know: upload_max_filesize, post_max_size.

Why am I still seeing 2MB?

Im using Zend Serv

27条回答
  •  感情败类
    2020-11-27 09:25

    I found that increasing the upload and post limit in php.ini did not affect the limit in phpmyadmin. This is because my server has a separate setting for cpanel upload limit. If you have access to WHM, you probably have this.

    To adjust:

    • login to your WHM panel: this is usually located at {your server ip}/whm and you will need your root login details here. If you don't have those, request them from your host.
    • once logged in, in the top left search bar, search for "tweak settings"
    • On the tweak setting pages, search for "cPanel PHP max upload size"
    • Adjust the number and save

    No need to restart apache or anything, changes are instant. This process increased the value of max upload file size in phpmyadmin. You can check this by going to phpmyadmin and selecting your database, then clicking "import" at the top. Beside the file selector you will see the upload limit. My server default was 100.

提交回复
热议问题