Setting PHP options

From ULYSSIS documentation
Revision as of 22:30, 8 July 2020 by Vincenttc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

You can set PHP options you would normally set in php.ini in .user.ini.

For example, to increase the maximum filesize of uploads, create a .user.ini file (for example: ~/www/.user.ini)

upload_max_filesize = 20M
post_max_size = 25M ; post_max_size needs to be larger than upload_max_size

It is also possible to use the ini_set function, however this does not support all options.