In my /etc/php5/apache2/php.ini file: post_max_size=10M
and i test it with
<?php echo phpinfo(); ?> The result is post_max_size=10M.
When i import a 3.5M xml file,error message :
Sorry, there has been an error. The uploaded file exceeds the upload_max_filesize directive in php.ini.
How to fix it ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
think woet , max_file_uploads is not the same as upload_max_filesize too , problem solved after change upload_max_filesize=10 .
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.