mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
add something to the FAQ to help people find error messages
This commit is contained in:
parent
7ec7f10290
commit
96d071dffd
@ -34,3 +34,24 @@ Frequently Asked Questions:
|
|||||||
if it doesn't for you, try editing $CONF['emailcheck_resolve_domain'] to 'NO' in
|
if it doesn't for you, try editing $CONF['emailcheck_resolve_domain'] to 'NO' in
|
||||||
config.inc.php and try again.
|
config.inc.php and try again.
|
||||||
|
|
||||||
|
|
||||||
|
5) Postfixadmin is telling me an error occurred, and I should look at the server error logs for more details. Where do I look?
|
||||||
|
|
||||||
|
- This depends on your server setup (distribution, how PHP is executed etc).
|
||||||
|
|
||||||
|
- Postfixadmin typically calls PHP's error_log() function to log some detail about errors. This may write to :
|
||||||
|
|
||||||
|
* /var/log/syslog
|
||||||
|
* /var/log/apache2/error.log
|
||||||
|
* /var/log/php7.4-fpm.log (or equivalent for your PHP version)
|
||||||
|
* or somewhere you may have manually configured.
|
||||||
|
|
||||||
|
You can change where it logs by adding something like :
|
||||||
|
|
||||||
|
```PHP
|
||||||
|
ini_set('error_log', '/tmp/postfixadmin.log'); // example only
|
||||||
|
```
|
||||||
|
|
||||||
|
into config.local.php, or you can change your PHP configuration.
|
||||||
|
|
||||||
|
See also: https://stackoverflow.com/questions/5127838/where-does-php-store-the-error-log-php5-apache-fastcgi-cpanel
|
||||||
|
Loading…
Reference in New Issue
Block a user