Version 2.5 is a legacy release, and these documents are no longer being maintained.

Application

The behavior of PHP code often depends strongly on the values of many configuration settings, including fundamental changes to things like how errors are handled.

We defined some sane configuration defaults in our installation instructions. Namely, these settings are defined in the PHP pool (/etc/php7.2/fpm/php-fpm.conf) and they are prioritized over those defined in /etc/php/7.2/fpm/php.ini. Be aware that multiple configuration files are read when PHP starts up, therefore it is a good practice to check the final configuration state when you are deploying AtoM. You can use phpinfo() for that purpose.

See also

There are certain settings in PHP that could be tweaked as a security measure but they may have unexpected results in AtoM. For example, you may be tempted to disable allow_url_fopen but that would make impossible for AtoM to fetch digital objects from remote resources. These settings only seem convenient for hosting providers running untrusted code from their users or willing to limit their abilities in runtime.