In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you about the operation of phpmyadmin to modify the size of uploaded files. I hope you will gain something after reading this article. Let's discuss it together.
How to modify the size of uploaded files by phpmyadmin
Phpmyadmin default import database file size is 2m, which is not enough for us to use. To import more than 2m database files, we need to manually modify the php.ini configuration file!
Modify in the php.ini file:
Upload_max_filesize 20m (that is, the maximum file size allowed to be uploaded. The default is 2m, and the modified value is customized)
After the modification, refresh the phpmyadin import database page and find that the import database size limit is displayed as "(maximum limit: 8192 KB)" instead of the 20m set manually.
Yes, if you only change the upload_max_filesize setting, the php.ini configuration defaults to the size of the post_max_size configuration as the standard for the phpmyamdin import database file size limit.
Therefore, we have to make the following changes:
Post_max_size 30m (the maximum value that can be received to PHP through the form POST, including all values in the form, defaults to 8m)
Refresh the phpmyadin import database page again and notice that the maximum limit becomes 20m, even if you use the upload_max_filesize configuration option. After modifying the above two values for many times, a conclusion is drawn:
Php.ini takes the smaller values of upload_max_filesize and post_max_size as valid values for the file size limit of the imported database!
After reading this article, I believe you have a certain understanding of "the operation of phpmyadmin to modify the size of uploaded files". If you want to know more about it, welcome to follow the industry information channel, thank you for your reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.