Visa_one
Intern
Intern
  • UID5308
  • Fans0
  • Follows0
  • Posts1
Reads:905Replies:3

WP Memory Limit and PHP Max Input Vars:

Created#
More Posted time:Mar 11, 2018 0:19 AM
How can I increase WP Memory Limit? I already define it on my wp-config file (Wordpress), but it seems not working.

And how can I increase the PHP Max Input Vars to 3000?

Thanks/

shhanshan
Forum Moderator
Forum Moderator
  • UID105
  • Fans5
  • Follows0
  • Posts343
1st Reply#
Posted time:Mar 26, 2018 20:41 PM
AlibabaCloud.com

BrianBae
Assistant Engineer
Assistant Engineer
  • UID5909
  • Fans0
  • Follows0
  • Posts58
2nd Reply#
Posted time:Jul 10, 2018 1:45 AM
open php.ini file

upload_max_filesize = 1000M
post_max_size = 2000M
memory_limit = 3000M
file_uploads = On
max_execution_time = 180


You can edit memory limit of php

GhulamQadir
Engineer
Engineer
  • UID5968
  • Fans2
  • Follows0
  • Posts70
3rd Reply#
Posted time:Jul 23, 2018 6:27 AM
you can find .htaccess file in your root folder and try this code:



<IfModule mod_php5.c>
php_value memory_limit 128M
php_value max_input_vars 5000
</IfModule>
Guest