Import file size limit in PHPMyAdmin

后端 未结 27 2642
遇见更好的自我
遇见更好的自我 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:29

    I was facing the same problem where increasing max size in php.ini has no effect on wordpress and tried many solutions like -:

    1. Increase max size via functions.php
    2. Increase max size via .htaccess file.

    The one that worked for me is adding max size in .htaccess file. It wasn't working with neither with php.ini file nor with functions.php file.

    I just did add this code in .htaccess file and its done

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300
    

    NOTE: I did add above code in tag.

    If php.ini file is not doing anything in changing size then try other 2 files for it and one of them will surely work for you.

    READ THIS ARTICLE TO KNOW ABOUT ALL FILES IN WHICH YOU CAN INCREASE MAX SIZE

提交回复
热议问题