MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: nmpribeiro on 2014-08-13, 13:59:32
-
Hi,
Can't change memory_limit from 64M
INFO:
Kloxo-MR: 6.5.1.b-2014072901
PHP: php54-5.4.31-1.ius.el6.x86_64
Php-type (for Httpd/proxy): php-fpm_event
There's some bug, since I cannot change in the "advanced php conf" UI, neither in /opt/php54m.......ini nor /etc/php.ini
-
Goto 'Server' -> localhost -> php config
Change there under Advanced.
Ssh or command center, restart-web
sh /script/restart-web
Memory limit should be set. ;)
-
Hi,
Thanks, but if it was that simple I wouldn't be asking. Did that. No luck.
Changed in /etc/php.ini
Changed in /opt/php54m/etc/php.ini
...
[root@server1 ~]# php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
Same output with admin user on shell. That configuration file doesn't change the value. I'm in some sort of error here. Perhaps I should re-install php and replace config files :|
Thanks
-
Incidently, changing php memory_limit in advanced php settings on kloxo UI, changes /etc/php.ini (I've put for instance 256M, and then when check it through ssh. Changed value on /etc/php.ini good.)
However, when checking phpinfo(), my memory_limit is 64M both local and master.
Configuration File (php.ini) Path: /etc
Loaded Configuration File: /opt/php54m/custom/php54m.ini
Changing /opt/php54m/custom/php54m.ini doesn't yield any result either.
I really need some help here.
-
grep -ir 'memory_limit' /etc/
/etc/php-fpm.d/admin.conf:php_admin_value[memory_limit] = 64M
Here is the culprit! Hunting in so many places for such a simple setting... :/ I guess php got only one config possible for the server, yet, some files regarding ancient per client php config were left on the server.
Please, fix that.
-
Using phpXYm only work with php-fpm. You can see memory_limit declare inside /etc/php-fpm.d/<user>.conf.