mediawiki: Need to increase php max_execution_time
On the forum, it was reported that Mediawiki is not working, and just shows a blank page: https://discuss.freedombox.org/t/mediawiki-is-not-functional/3001
The journal shows this error:
juin 11 22:08:32 <localname> apache-error[2231]: [proxy_fcgi:error] [pid 2234:tid 2246] [client 192.168.1.254:45114] AH01071: Got error 'PHP message: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/share/mediawiki/includes/exception/MWExceptionHandler.php on line 723'
This value is set in /etc/php/8.2/fpm/php.ini
and has a default value of 30 seconds:
; Maximum execution time of each script, in seconds
; https://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 30
For zoph, we are overriding the value to be 100 seconds: 9c5491de
I think we could also override the value for Mediawiki, and perhaps all PHP apps.