You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain extensions such as EmailPage or certain environments will assume a working php mail() function without regard to wgSMTP. Therefore, the php.ini file must be configured or else a local MTA / sendmail equivalent like Postfix configured. Currently the php.ini file is templated without regard to mail settings. And it is re-constructed on every deploy - destroying any local customizations.
Solutions
Make the role controllable with a tag (brittle)
Check for existence of php.ini file and do not overwrite (not good for eventual upgrades / changes)
Make file changes more granular (block in file / line in file)
The text was updated successfully, but these errors were encountered:
Another example: upload_max_filesize = 5M in php.ini
needs to be templated in parallel with
$wgUploadSizeWarning and $wgMaxUploadSize in LocalSettings.php (or override.php)
AND client_max_body_size 0; in nginx.conf Setting size to 0 disables checking of client request body size. (default is 1m)
AND LimitRequestBody 5000000 in apache.conf (5M)
Environment
Issue details
Certain extensions such as EmailPage or certain environments will assume a working php mail() function without regard to wgSMTP. Therefore, the php.ini file must be configured or else a local MTA / sendmail equivalent like Postfix configured. Currently the php.ini file is templated without regard to mail settings. And it is re-constructed on every deploy - destroying any local customizations.
Solutions
The text was updated successfully, but these errors were encountered: