Home >Backend Development >PHP Tutorial >How to modify the size of the phpmyadmin import file_PHP tutorial
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