Many webmasters will encounter the problem of phpmyadmin upload file size limit when using phpmyadmin to import SQL files. The default phpmyadmin upload file size is 2M.
If you want phpmyadmin to upload files larger than 2M, you need to modify the size of the file uploaded by phpmyadmin.
Methods to modify the uploaded file size:
1. Modify the php.ini file.
1. post_max_size refers to the maximum value that can be received by PHP through form POST, including all values in the form. The default is 8M. You need to change it.
2. upload_max_filesize, which is the maximum allowed file size to be uploaded. The default is 2M.
2. Modify the import.php file.
1. $memory_limit, the default is $memory_limit = 2 * 1024 * 1024; modify it to the required size.
2. There are the same statements in the three or four lines below. Follow step 1 to modify them.
For more phpmyadmin related technical articles, please visit the phpmyadmin tutorial column!
The above is the detailed content of How to modify phpmyadmin file upload size limit. For more information, please follow other related articles on the PHP Chinese website!