Jump to content

Where Is Php's Error_log() Output Directed On The Hosted Site?


Recommended Posts

Posted

I'm sure this must be a frequently repeated question, as it is very basic. But I haven't found the answer from searching the posts, so here goes. Sorry ahead of time fro the repeat.

 

I have just transferred my domain to totalchoicehosting, and am figuring out how to administer it. I've uploaded my php site (which works fine locally), and have found that none of my error_log() statements get displayed from the cpanel error-log trace. Some other php logs statements are there (the mysql_* errors are showing up).

 

At home, I control this by configuring my php.ini file to direct all error_log statements to a particular file, and then the "native" php logs and my error_logs both go there. What do I need to do for my totalchoice site to find/read my error_log statements? (I do have error_reporting(E_ALL) at the top of my scripts).

 

 

Thanks for any help!

Laurie

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...