How to Increase the Maximum File Upload Size in WordPress

Many times i have this problem changing

max_execution_time, memory_limit, post_max_size, upload_max_filesize

mainly for the xml demo import and the images upload in library

Here is the soultion

in my server i needed to add this into .htaccess in the root above public_html folder

 SetEnv PHPRC /home/methaq48/public_html/php.ini
 

and then in each wordpress instillation folder u add php.ini with this

upload_max_filesize = 64M
post_max_size = 64M
 max_execution_time = 300
 
Advertisements

Leave a Reply :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s