Home >Backend Development >PHP Tutorial >How to modify the size of the phpmyadmin import file_PHP tutorial

How to modify the size of the phpmyadmin import file_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:06:22988browse

If we use phpmyadmin to import a file and find that the file is too large and the import fails, Baidu later knows that we can modify several parameters in php.ini to modify the size of the phpmyadmin import file. Friends who have encountered this problem can refer to it. .

Detailed method


Modify several configuration parameters of php upload file size

upload_max_filesize
memory_limit
post_max_size

The values ​​of the above three items in the php configuration file (default php.ini) must be changed to a larger value

Find the three parameters upload_max_filesize, memory_limit and post_max_size

upload_max_filesize, upload file size

memory_limit set memory

post_max_size maximum value of submitted data

Modify it to the data you want. For example, here I modified it to 300M. After the modification is completed, save and exit, and then re-start:

sudo /etc/init.d/apache2 restart

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/630696.htmlTechArticleIf we use phpmyadmin to import a file and find that the file is too large and the import is unsuccessful, Baidu later knows that we can modify php Several parameters in .ini to modify the size of the phpmyadmin import file...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn