Home > Backend Development > PHP Tutorial > 修改php.ini实现Mysql导入数据库文件最大限制的修改方法_php技巧

修改php.ini实现Mysql导入数据库文件最大限制的修改方法_php技巧

WBOY
Release: 2016-05-17 09:38:47
Original
880 people have browsed it

自己电脑上装的WAMP,在导入数据库比较大(大于2M)时遇到错误,不能导入。
找到解决方法:

php.ini配置文件中有三处地方需要改动:

upload_max_filesize
memory_limit
post_max_size

这三个值都根据实际情况改下,重启服务器以后,虽然导入时仍然显示是 最大限制:2,048 KB) ;

但实际上已经可以导入很大的数据库了。。。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template