how to set a path for php error_log

arash

Verified User
Joined
Aug 1, 2021
Messages
5
Hello,

I need to set a value for error_log in php.
When I print phpinfo() there is "no value" for error_log
How can I set a path for it in directadmin?
 
Hello.
For server level, the php errors will be printed in the apache logs by default.
Like in the /var/log/httpd/access.log and the domain logs in the /var/log/httpd/domains directory.
 
Back
Top