After update to php8.1 Warning PHP Memory recommended 512 M

After update to 25.0.2 on a raspberry pi 4 8GM I upgraded php to php8.1
Now I get the warning php memory recommended 512 M

First I checked wicht php.ini file is in use:
php -i | grep “Loaded Configuration File”
Loaded Configuration File => /etc/php/8.1/cli/php.ini

Then I used nano to check the parameter:
I typed 640M

memory_limit =640M

restart php and finely reboot the system.

Still got this Warning

  • Die PHP-Speichergrenze liegt unterhalb des empfohlenen Wertes von 512MB.

Any Ideas what I do wrong?

Regards
Christof

Hey Christof,
plz edit /etc/php/8.1/fpm/php.ini

memory_limit = 512M

Afterwards, restart the service: systemctl restart php8.1-fpm

Hi abyss02 thank you that’s the solution.
But why shows
php -i | grep “Loaded Configuration File”
the wrong config file?

But anyway thank you