PHP memory size can't changed.

Issues related to applications and software problems
Post Reply
hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

PHP memory size can't changed.

Post by hack3rcon » 2019/06/15 08:20:11

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.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: PHP memory size can't changed.

Post by avij » 2019/06/15 08:45:55

If you are not using the CentOS-supplied PHP, you should ask this on the proper forum.

hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Re: PHP memory size can't changed.

Post by hack3rcon » 2019/06/15 09:59:48

I changed the value in below file and problem solved:

Code: Select all

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

Post Reply