PhpMyAdmin Import File Size Limitation
Question:
Despite modifying upload_max_filesize and post_max_size in php.ini, the file size limit remains at 2MB. Why is this occurring?
Answer:
Step 1: Locate the php.ini File
Locate the php.ini file on your server. For Ubuntu VirtualBox with Apache2 and PHP5:
sudo gedit /etc/php5/apache2/php.ini
Step 2: Modify File Size Limit Parameters
Within the php.ini file, make the following changes:
Step 3: Ensure Order from Largest to Smallest
The parameters should be configured in descending order:
memory_limit post_max_size upload_max_filesize
Step 4: Save and Restart Apache
Save the changes to php.ini and restart Apache:
sudo /etc/init.d/apache2 restart
Additional Note:
Remember to restart Apache services to apply the changes.
The above is the detailed content of Why Doesn\'t Increasing `upload_max_filesize` and `post_max_size` in php.ini Solve My PhpMyAdmin Import File Size Limit?. For more information, please follow other related articles on the PHP Chinese website!