wordpress_ynh icon indicating copy to clipboard operation
wordpress_ynh copied to clipboard

Please do not modify some PHP fpm values

Open tio-trom opened this issue 3 years ago • 5 comments
trafficstars

Many Wordpress websites and plugins require bigger values for the php-fpm /etc/php/8.0/fpm/pool.d. Your defaults of 50M and 65M respectively are too low. Mine are

php_admin_value[upload_max_filesize] = 512M
php_admin_value[memory_limit] = 512M
php_admin_value[post_max_size] = 512M

And I have over 10 WP websites with YNH. Every time YNH pushes an update, it changes these values and I wonder why? If these values are manually changed (for good reasons) can you please leave them as they are?

tio-trom avatar Sep 07 '22 21:09 tio-trom

To be fixed by re-introducing the config panel, similarly to https://github.com/YunoHost-Apps/nextcloud_ynh/pull/500.

tituspijean avatar Sep 07 '22 21:09 tituspijean

To be fixed by re-introducing the config panel, similarly to YunoHost-Apps/nextcloud_ynh#500.

Awesome! Thank you!

tio-trom avatar Sep 07 '22 21:09 tio-trom

Hi, I'm interested in the subject since I got the same situation, but I haven't understood the solution. Could you be more explicit for newbies like me ? ;-) Thanks in advance.

iambabs-com avatar Oct 19 '22 19:10 iambabs-com

For a "newbie like you", the solution would be "wait for it to be fixed". 😓

To be more explicit, the linked PR reinstated some user-tunable settings in config panel. I was hinting that a similar work needed to be done to add the settings mentioned above.

tituspijean avatar Oct 19 '22 21:10 tituspijean

You mean soon a setting will be on yuno admin panel ? OK then for isntance I still manually change the php conf ;-)

iambabs-com avatar Oct 19 '22 22:10 iambabs-com