I am hosting a web application on a 1and1 Basic plan.
I have tried setting up php error logging, by following their instructions, and thus have set up php.ini
as follows :
error_reporting = E_ALL | E_STRICT
log_errors = On
display_errors = Off
error_log = /homepages/31/d704704531/htdocs/logs/php-errors.log
However it is not working, the file is not being created, I don't see an error message anywhere.
The problem is that the destination file is in the logs
folder, which is read only.
This is silly, but one needs to point the logs to another destination, for example :
error_reporting = E_ALL | E_STRICT
log_errors = On
display_errors = Off
error_log = /homepages/31/d704704531/htdocs/mylogs/php-errors.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With