开发者 | isabel104 |
---|---|
更新时间 | 2016年11月22日 11:33 |
PHP版本: | 3.6 及以上 |
WordPress版本: | 4.6 |
版权: | GNU Version 2 or Any Later Version |
版权网址: | 版权信息 |
php.ini
. If a php.ini
file does not exist on your server in the root of your website, one will be created. If your server uses php5.ini
instead, go to Tools --> Upload Max Filesize to run it with php5.ini
. You can also use this plugin to see your current php.ini settings status (go to Tools -> Upload Max Filesize).
Super Easy To Use
This is what the plugin does automatically when you install it (it works immediately upon activation):
upload_max_filesize
) is less than 32 MB, it will be set to 32M.post_max_size
) is less than 33 MB, then it will be set to 33M.Tools -> Upload Max Filesize
.
Thus, if you later make any manual changes to decrease your upload_max_filesize
, the plugin will not automatically increase it again. You must either run the plugin again from Tools -> Upload Max Filesize, or de-activate and reactivate the plugin, to make it run again.
Will This Work For You?
This plugin works. This means that it writes the rules to your php.ini and/or to your php5.ini. If the .ini
file does not exist, it will create the file and then write the rules on it. This is all the plugin does. However, some web hosts IGNORE the settins on your php.ini or php5.ini. That is out of our control.
PLEASE NOTE: If you have a web host that ignores PHP ini rules set in these .ini
files, that is no reason to give this plugin a bad rating. You have the option of posting your problem (and the name of your web host) in the forum, and 9 times out of 10, I will help you solve your web-host-related problem.
This plugin will work with most web hosts that recognize either a php.ini
or php5.ini
file. It's not going to work with all hosting companies, but it will work with most of them (including BlueHost and GoDaddy).
See the Installation Instructions and the FAQ.
Contribute or fork it on Github.
'upload_max_filesize'
is 32M or greater, the plugin has worked.'upload_max_filesize'
is less than 32M, first wait at least 30 minutes. Some servers are slower than others. If it still does not change after 30 minutes, it may be because your server does not recognize php.ini
, and only recognizes php5.ini
. So, please check the box labeled "USE php5.ini INSTEAD OF php.ini" and click the blue button once. Then, check your current status again after a few minutes.This plugin works. This means that it writes the rules to your php.ini and/or to your php5.ini. If the .ini
file does not exist, it will create the file and then write the rules on it. This is all the plugin does. However, some web hosts IGNORE the settins on your php.ini or php5.ini. That is out of our control.
PLEASE NOTE: If you have a web host that ignores PHP ini rules set in these .ini
files, that is no reason to give this plugin a bad rating. You have the option of posting your problem (and the name of your web host) in the forum, and 9 times out of 10, I will help you solve your web-host-related problem.
This plugin will work with most web hosts that recognize either a php.ini
or php5.ini
file. It's not going to work with all hosting companies, but it will work with most of them (including BlueHost and GoDaddy).
If after 30 minutes your custom settings do not take effect, it may be that you web hosting company has set a maximum limit. Please check with your host to see what the maximum allowable limits are. For example, some of them don’t allow the 'upload_max_filesize'
to go above 32M. In that case, if you try to set it to 64, it will not take effect. It will not even get set to 32, either. It will simply stay at whatever lower setting you currently had in effect. So, choose custom limits that are a little bit lower and run the plugin again.