I wanted to set
php_value error_log /home/vol13_4/epizy.com/path/to/log/errors.log in my .htaccess file (or via php_ini), but using
phpinfo() I still see
/log/up as the error reporting path.
Is it disabled or am I doing something wrong? (on my localhost it works)
In that case, is there a workaround to get a log file?
As I previously said, an list off all the directivesthat have been disabled by @Admin would be more than appreciated!
I’m sorry, but I don’t have an exhaustive list of directives. The best I can offer you now is to just try setting them through .htaccess directives and use a
phpinfo() check to see which ones work or not.
If you set the value and phpinfo doesn’t show the setting has taken effect, that means the setting is not user configurable.
As a workaround, you may be able to do something with the
set_error_handler function. Through it, you can set your own error handling code, which could include writing logs to a file, database or external service (e.g. Sentry).
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.