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
change php log file path
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: change php log file path
http://www.php.net/manual/en/function.error-log.php
Send any error messages to a custom log file. Or contact your hosting provider
Send any error messages to a custom log file. Or contact your hosting provider
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
-
persiangulf
- Forum Commoner
- Posts: 30
- Joined: Tue Jan 29, 2008 12:04 pm
Re: change php log file path
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?
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: change php log file path
Doesn't look like it
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering