About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:php_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
administration:php_settings [2023/03/28 11:44] andre_ladministration:php_settings [2023/03/28 23:40] (current) demiankatz
Line 10: Line 10:
   * ''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 logIt 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 userThus, 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.
  
  
administration/php_settings.txt · Last modified: 2023/03/28 23:40 by demiankatz