I bought a template 2.2M and the limit on wordpress is set to 2M.
I am hosting the server so I have full access to files.
-
I have created a info.php and found:
Loaded configuration file: none -
Then setting php.ini is not working:
php.ini // and php5.ini
upload_max_filesize = 32M
post_max_size = 32M -
Also tried to set:
wp-config.php
define(‘WP_MEMORY_LIMIT’, ’64M’); -
Also tried:
No .htaccess file- php_value post_max_size 30M
- php_value upload_max_filesize 30M
I anded with coping the file to the server, but I am curious;
It must be possible, right?
If your hosting allows you to upload a custom php.ini file, just create it at /wp-admin folder.
Then at wp-config add:
I’ve tested this in multiple servers, if it doesn’t work is because your hosting blocks this directives.