Skip to main content

Don't set error_logerror_log to where your syslogsyslog stuff goes, eg /var/log/apache2eg /var/log/apache2, because they errors will get intercepted by ErrorLogErrorLog. Instead, create a subdirsubdir in your project folderproject folder for logs and do php_value error_log "/path/to/project/logs"php_value error_log "/path/to/project/logs". This goes for both .htaccess files and vhosts.htaccess files and vhosts. Also make sure you put php_flag log_errorsphp_flag log_errors on

Don't set error_log to where your syslog stuff goes, eg /var/log/apache2, because they errors will get intercepted by ErrorLog. Instead, create a subdir in your project folder for logs and do php_value error_log "/path/to/project/logs". This goes for both .htaccess files and vhosts. Also make sure you put php_flag log_errors on

Don't set error_log to where your syslog stuff goes, eg /var/log/apache2, because they errors will get intercepted by ErrorLog. Instead, create a subdir in your project folder for logs and do php_value error_log "/path/to/project/logs". This goes for both .htaccess files and vhosts. Also make sure you put php_flag log_errors on

Source Link
rkulla
  • 2.5k
  • 1
  • 18
  • 16

Don't set error_log to where your syslog stuff goes, eg /var/log/apache2, because they errors will get intercepted by ErrorLog. Instead, create a subdir in your project folder for logs and do php_value error_log "/path/to/project/logs". This goes for both .htaccess files and vhosts. Also make sure you put php_flag log_errors on