Home  >  Article  >  Backend Development  >  How to modify php.ini to achieve the maximum limit of Mysql import database files_PHP tutorial

How to modify php.ini to achieve the maximum limit of Mysql import database files_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:54:10683browse

WAMP installed on my computer encountered an error when importing a relatively large database (larger than 2M) and could not be imported.
Find the solution:

There are three places in the php.ini configuration file that need to be changed:

upload_max_filesize
memory_limit
post_max_size

These three values All changes were made based on the actual situation. After restarting the server, although the import still shows the maximum limit: 2,048 KB);

, it can actually import a large database. . .

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318558.htmlTechArticleThe WAMP installed on my computer encountered an error when importing a relatively large database (larger than 2M) and could not be imported. Found the solution: There are three places in the php.ini configuration file that need to be changed: upl...
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