ITeye博客

php wordpress upload_max_size

marc0658 · 2012-08-23 13:33 · 私人收藏 · 非技术 · Markdown

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.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。