Php74-fpm configured values are not 100% adopted by Nextcloud

My Installation is

ubuntu server 20.04.2
PHP 7.4.16
NGinx 1.18
PostgreSQL 13.2

My values in /etc/php/7.4/cli/php.ini for max_input_size and max_execution_time

and /etc/php/7.4/fpm/php.ini

The Values for RAM and upload sizes are 4G and 25G for testing purposes.
The value for max_execution and input are set to 10400 (instead of 3600 before)

My Nextcloud adopts all these PHP values properly instead of max_execution_time
This value is still reported in system settings as 3600.

Any ideas where Nextcloud gets the old values (3600) from?

I restarted php7.4-fpm several times but no success.

Any ideas?

grep -r 'max_execution_time' /etc/

delivers the following

and same again for
grep -r 'max_input_time' /etc/
Bildschirmfoto vom 2021-05-15 15-52-30

and if i investigate the source of the value in the setting of nextcloud i get

Bildschirmfoto vom 2021-05-15 15-43-13

All my settings in php7.4 (before) and after the update to php8.0 (now) are set to 10800 for now.
Never the less nextcloud seems to get the PHP Value for “phpMaxExecTime” anywhere else than from these php.ini files.

Can anybody help me please!

Found out what causes the problem.

In /var/www/nextcloud/lib/base.php containing values like

@ini_set … for max_execution_time and max_input_time

The file does not contain @ini_set values for upload_max … and so on.

Thatwhy my values for upload_max filesize have not been “ignored” and came from the real source fpm php.ini

The values for max_execution_time have been permanently overwritten by Nextcloud base.php
I commented out the lines with those entries and voila → all values set to fpm php.ini are shown under my webui settings → system pages

:grinning: