upload_max_filesize error in php.ini

I have a error while uploading my download theme for about a size of 2.3 MB with these error The uploaded file exceeds the upload_max_filesize directive in php.ini. . and when i try to change the value of upload_max_filesize = 10MB from default 2M to all php.ini, php.ini-development and php.ini-production I got same error. I could not upload my downloaded theme while about a size of 2.3 MB. I am using XAMPP. Thanks in advance.

Topic php.ini Wordpress

Category Web


Make sure you edited the right php.ini file. Place a php file with phpinfo() in you webspace and check the values. There are possibly more than one, for cli and for web or different php versions.
Also check the post_max_size value in your php.ini, when you know it's the correct one. Set it to 10MB as well and try again.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.