PHP memory limit in user.ini WordPress is not seeing it?

psalm91

Verified User
Joined
Sep 20, 2015
Messages
168
I have set user.ini and have added php memory limit 256 but inside wordpress
in site help server information it says

PHP memory limit 128M
PHP memory limit (only for admin screens) 256M

Then I go to directadmin user PHP-FPM Configuration
I add php_admin_value[memory_limit]=256M to php fpm custom 2
then the wordpress seems to reflect the new value it says
PHP memory limit 256M
but the line
PHP memory limit (only for admin screens) 256M disappears.

I do not understand what is going on . Where exactly I need to touch to change memory limit so wordpress understand it?
 
please see it yourself I do not have that in user php settings
You do. But it's confusing.
Under "Add New Override" you have to use the dropdown, then scroll to "memory_limit", select that one, change the value from dropdown next to the "value" tag and then it's set.
 
You do. But it's confusing.
Under "Add New Override" you have to use the dropdown, then scroll to "memory_limit", select that one, change the value from dropdown next to the "value" tag and then it's set.
Wow Wow Wow thanks Wow all I can say :)
 
You can also change these values for memory_limit in the json template file, or switch ranges against a list of values or vice versa

template file: /usr/local/directadmin/data/templates/php_settings.json
 
You do. But it's confusing.
Under "Add New Override" you have to use the dropdown, then scroll to "memory_limit", select that one, change the value from dropdown next to the "value" tag and then it's set.
OK one question the max memory limit drop-down is 1024 what if I want to add more?
 
Back
Top