istike2
Goto Top

HTACCES erstellen für PHP error logs

Hallo,

ich habe bei Allinkl einen shared Webserver, wo PIWIGO also Fotogalerie-Tool eingerichtet wurde.

Da ich einen 500-er Fehlermeldung bekommen habe, wollte ich Error-Loggen durch HTACCESS erlauben:

Meine Frage:

reicht die Datei so aus?

  1. supress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off

  1. enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log

  1. prevent access to PHP error log
<Files PHP_errors.log>
Order allow,deny
Deny from all
Satisfy All
</Files>
oder soll noch irgendetwas rein?

Danke sehr.

I.

Content-Key: 267391

Url: https://administrator.de/contentid/267391

Printed on: April 19, 2024 at 16:04 o'clock