Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
administration:php_settings [2023/03/28 11:44] – andre_l | administration:php_settings [2023/03/28 23:40] (current) – demiankatz |
---|
* ''pcre.jit'' - If you encounter mysterious failures when running under PHP 7, turning this off may help. See https://bugs.php.net/bug.php?id=71982 for more information. This may be specific to CentOS. | * ''pcre.jit'' - If you encounter mysterious failures when running under PHP 7, turning this off may help. See https://bugs.php.net/bug.php?id=71982 for more information. This may be specific to CentOS. |
* ''error_log'' - Location of PHP error log. Setting this to a file path makes PHP write all notices, warnings and errors to the file instead of Apache log. | * ''error_log'' - Location of PHP error log. Setting this to a file path makes PHP write all notices, warnings and errors to the file instead of Apache log. |
* ''display_errors'' - Whether to display warnings and errors in browser. While VuFind® has a nice error handler in development mode, it ignores e.g. PHP notices. Combined with ''error_reporting=E_ALL'' makes PHP display them on screen, which can be useful in detecting possible problems even without checking the error log. It is not recommended to use these in production, though! | * ''display_errors'' - Whether to display notices, warnings and errors in browser. VuFind®'s built-in error handler should display these for you in development mode, and in production you never want to expose errors to the end user. Thus, it is generally not recommended to turn this setting on. |
* ''opcache.enable'' - OPcache improves PHP performance with PHP 7.x versions, but turning it off when doing development or setup work may be useful since otherwise old .php files may be used from the memory cache. | * ''opcache.enable'' - OPcache improves PHP performance, but turning it off when doing development or setup work may be useful since otherwise old .php files may be used from the memory cache. |
| |
| |