/usr/local/phpXX/lib/php.ini
php_ini=no
which takes care it won't be overwritten.Is this the location for lsphp?For all accounts you can use the php.ini for that.
You can find it in the according php directory like this:
/usr/local/phpXX/lib/php.ini
replace the XX by your php version like php 8.0 would be /php80 and same for 8.1 or 7.4.
Remember to restart the according php-fpm service after making the change.
php --ini
or /usr/local/phpXX/bin/php --ini
to see a correct location.If I go into my user and run a command it says thisIt's always the same no matter which PHP mode you use.
To make sure you can always runphp --ini
or/usr/local/phpXX/bin/php --ini
to see a correct location.
When I go to the above php.ini file in opt/alt.. it says the memory_limit is commented out?
/etc/cl.selector/php.conf
and /etc/cl.selector/global_php.ini
# cat /etc/cl.selector/global_php.ini | grep -v '^\;'
[Global PHP Settings]
memory_limit = 2048M