This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Seperate PHP error logs per domain,
#1
Seperate PHP error logs per domain,
Hello,

At present my server does not display errors but logs them to theĀ 
error_log = "C:/zpanel/logs/php/php_errors.log" which i believe is default,
But all domain errors go onto the same log,

I wish to separate them per domain,
I tried to do via .htaccess but it throws 500 errors and kills the site,

It does work if i manually add a line into the httpd-vhosts.conf
php_value error_log "C:/zpanel/logs/php/<MYDOMAIN>_php.error.log"

But ofcorse this will be overwritten,

My question, is there a better way, or is it possible to have sentora write this line to conf when it generates the vhosts conf?


All files are fine to stay in the same directory, I am the only person who uses my server for multiple domains, and no one else,

Many thanks for your help in advance,

Cathelest.
Reply
Thanks given by:


Messages In This Thread
Seperate PHP error logs per domain, - by cathelest - 07-20-2016, 07:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
My domain always redirect to control panel login page khir 3 15 ,488 05-25-2020, 12:04 AM
Last Post: muratkaragoz
AWServer with ZPanelX 2.2 - Domain Connections Refused - language files - n more odinwynd 20 66 ,005 05-28-2017, 05:05 AM
Last Post: TGates
Error 500 Issues! chiefody 3 11 ,367 03-04-2017, 06:42 AM
Last Post: cathelest

Forum Jump:


Users browsing this thread: 4 Guest(s)