Home > Database > phpMyAdmin > How to modify phpmyadmin file upload size limit

How to modify phpmyadmin file upload size limit

Release: 2019-12-09 10:40:42
Original
3381 people have browsed it

How to modify phpmyadmin file upload size limit

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!

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