Page 1 of 1

change php log file path

Posted: Thu Nov 03, 2011 4:04 am
by persiangulf
Hi

I want to change php log file path for my website. how can i do it. I don't have access to php.ini file because I use a shared server.
When i change php_log php.ini configuration variable using ini_set it does not work. Is it a way to do this.

Thanks in advance

Re: change php log file path

Posted: Thu Nov 03, 2011 5:56 am
by social_experiment
http://www.php.net/manual/en/function.error-log.php
Send any error messages to a custom log file. Or contact your hosting provider

Re: change php log file path

Posted: Thu Nov 03, 2011 7:43 am
by persiangulf
Thanks but it's not what i meant. I want exactly to change error_log file path. Is it possible without changing php.ini or not?

Re: change php log file path

Posted: Thu Nov 03, 2011 8:05 am
by social_experiment
Doesn't look like it