What type of hardware are you using: VPS bought online What YunoHost version are you running: 11.2.30.2 (stable) What app is this about: Prestashop
Describe your issue
When I try to install the prestashop (after yunohost installiation) I get this annoying
PHP’s config “memory_limit” must be to a minimum of 256M
Error.
I tried to edit: /etc/php/8.1/fpm/php.ini and changed memory_limit to 256M from 128M and restart systemctl php8.1-fpm
Problem doesnt get solved.
Then around 5-10 minutes the variable goes back to 128M in php.ini file.
I tested to put phpinfo in the index and yes, it uses php 8.1
I only have php 7.4 and 8.1 so I think 8.1 is because of prestashop.
I also doesn’t have any other app and this was a fresh intalliation of debian 11 followed by yunohost.
Share relevant logs or error messages
We are currently checking PrestaShop compatibility with your system environment
Oops! Please correct the item(s) below, and then click “Refresh information” to test the compatibility of your new system.
Required PHP parameters
PHP’s config “memory_limit” must be to a minimum of 256M
Recommended PHP parameters
To get the latest internationalization data upgrade the ICU system package and the intl PHP extension.
I pushed a fix in the testing branch. You can try to update from the testing branch: sudo yunohost app upgrade prestashop -u https://github.com/YunoHost-Apps/prestashop_ynh/tree/testing --debug
Okay I solved the issues thanks to you. I read the update echo’s that the command you provided here this cought my eye:
/etc/php/8.1/fpm/pool.d/prestashop.conf
I edited that and:
php_admin_value[memory_limit] = 512M
changed this from 128M.
and reboot.
I believe since I’m in the installiation process it thinks that I am admin (obviously ) so this fixed the issue.