Upload Limit
-
I’ve spent days reading and trying methods to change the upload limit to a bigger size yet nothing seems to be working. I’ve created a php.ini file, created a .httaccess file, and even added a line in the wp-config.php file, but I continue to get the following message: “IMG.jpg” has failed to upload due to an error
The uploaded file exceeds the upload_max_filesize directive in php.ini.I’m at the point where I’ve given up continuously looking through the forum, a big variety of websites, and through so many tutorial videos.
I run my own Windows-based server and have direct access to the WordPress folder.
These are the codes I have in the following files:
wp-config.php
define('WP_MEMORY_LIMIT', '250M');
php.ini
upload_max_filesize = 250M post_max_size = 250M max_execution_time = 300
.httaccess
php_value upload_max_filesize 250M php_value post_max_size 250M php_value max_execution_time 300 php_value max_input_time 300 SetEnv PHPRC /home/carlos/public_html
Any help at all will be very, very appreciated.
- The topic ‘Upload Limit’ is closed to new replies.