Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of modifying the upload size limit of phpmyadmin File

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to modify the upload size limit of phpmyadmin files. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

There are many webmasters who use phpmyadmin to import SQL files due to the size limit of phpmyadmin uploaded files. The default phpmyadmin uploaded file size is 2m.

If you want phpmyadmin to upload files larger than 2m, you need to modify the size of phpmyadmin uploaded files.

How to modify the size of the uploaded file:

First, modify the php.ini file.

1. Post_max_size, which refers to the maximum value that can be received to PHP through the form POST, including all the values in the form. The default is 8m, depending on what you need to change.

2. Upload_max_filesize, that is, the maximum file size allowed to be uploaded. The default is 2m.

Second, modify the import.php file.

1. $memory_limit. Default is $memory_limit = 2 * 1024 * 1024; modify to the required size.

2. The following three or four lines have the same statement, which can be modified according to step 1.

Thank you for reading! On the modification of phpmyadmin file upload size limit method to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report