Page 1 of 1

PHP memory size can't changed.

Posted: 2019/06/15 08:20:11
by hack3rcon
Hello.
I installed "PHP 7.2.18" and changed the value of "memory_limit" in "/etc/php.ini" file and restarted the Lamp, but memory not changed:

Code: Select all

# php -r "echo ini_get('memory_limit').PHP_EOL;"
128M
How can I solve it?

Thank you.

Re: PHP memory size can't changed.

Posted: 2019/06/15 08:45:55
by avij
If you are not using the CentOS-supplied PHP, you should ask this on the proper forum.

Re: PHP memory size can't changed.

Posted: 2019/06/15 09:59:48
by hack3rcon
I changed the value in below file and problem solved:

Code: Select all

/etc/opt/remi/php72/php.ini