php wordpress upload_max_size

http://www.dwuser.com/easyrotator/wordpress/upload-limit/

Recommended Approach: Modify Existing or Create New php.ini File

PHP installations use a special file called php.ini to specify configuration values.  If there is already a php.ini file in your site's root folder, edit that one.  Otherwise, you'll need to create a new one in the root folder.  (Note that some hosting providers require you to use their control panel to modify the php.ini file.)

Once you're editing the php.ini file, add the following values at the end of the file:

upload_max_size = 64M
post_max_size = 64M
memory_limit = 64M

Save the file and try loading a page on your site.  If you receive an error about a server misconfiguration, try changing the 64M value on each line down to 32M and repeat the test.  If everything goes well, you'll now have a much larger upload limit.  Return to the EasyRotator program and try again to deploy your rotator.

猜你喜欢

转载自marc0658.iteye.com/blog/1659666