DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# PHP directives set here won't apply when scripts are run from the
# command line (eg for prefetching), so any PHP directive edits made
# to this file should likely be made to php/config-cli.php too.

<IfModule mod_expires.c>
  ExpiresActive on
  ExpiresDefault "access plus 15 minutes"
</IfModule>

# Display errors in addition to logging them
# (disabled in production, change for dev environments)
php_flag display_startup_errors Off
php_flag display_errors Off

# Error logging
php_flag log_errors Off
php_value error_log "../logs/php_errors.log"

# Include all types of errors
php_value error_reporting -1

# Enable html markup of errors
php_flag html_errors On

# Parsing logs needs lots of memory, so be generous
php_value memory_limit 2048M

# It also can take a long time, so allow for 10 minutes
php_value max_execution_time 600