Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to increase the maximum upload file (media default:32mb). Before posting i search, but i didn't have the result that i want. My host didn't support .htaccess. I create my own php.ini with these:

memory_limit = 32M
upload_max_filesize = 120M
upload_max_filesize = 120M
post_max_size = 100M
file_uploads = On

After that i upload in the /wp-admin but i didn't see anything for increase. Also, i edit the wp-config.php with this:

define('WP_MEMORY_LIMIT', '120M');, 

even after this i didn't see any change to increase. How can do that?

Thanks in advance

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Please try to upload the php.ini file to the document root directory or to the same directory as wp-config.php.

You may also want to modify memory_limit to 120M and modify max_execution_time to 300.

share|improve this answer
add comment

I find the solution:

i create a .ini file called: .user.ini :

memory_limit = 64M
upload_max_filesize = 160M
post_max_size = 160M
max_execution_time = 300
file_uploads = On

i upload to the /wp-admin folder, after that I wait about 10 minutes and works.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.