Error Logs
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

Error Logs

Summary

The cPanel Error Logs tool is useful when debugging scripts and finding missing files or broken links you may not be aware of. If the error messages you find are related to your website and you are not sure what they mean or how to fix the issue.

Error Logs Overview

The cPanel Error Logs tool is useful when debugging scripts and finding missing files or broken links you may not be aware of. If the error messages you find are related to your website and you are not sure what they mean or how to fix the issue, it is advisable to contact the script developer for further troubleshooting. There are 2 different sections of the Error logs page you should be aware of:

Main Error Log

The Main Error Log
The Main Error Log
This section shows the last few lines of the server's main error log. These lines are displayed in chronological order with the time, IP address of the visitor and the error message. Because this is a shared server, you will see errors for all accounts on the server. If you are trying to locate error messages originating from your hosting account, you may need to refresh your URL which has the error/problem, and then refresh the Error Logs page.

PHP Error Logs

The PHP Error Logs will show errors related to php scripts only for your account. These errors are sorted by directory and do not automatically disappear as do the main error logs. The errors shown is stored in the error_log file within each directory. If you would like to clear the php error_logs, simply delete the error_log files in each directory using File Manager or FTP.
Note: At the bottom of the Error Logs page you can limit the output of each section to a specific number of lines. There is also a link to the Process Manager cPanel tool.

Shared

You can login to cPanel and click the Error Log icon. This contains the last 300 Apache errors triggered by your website.

VPS and Dedicated Server

On a Dedicated Server or VPS without a cPanel installation, most log files would be located in the /var/log/ directory. The Apache log would then be located in the /var/log/httpd/ directory.

However, for all of our servers with cPanel installs, the actual location of the Apache error log is /usr/local/apache/logs/error_log, where “error_log” is simply a plain text file.

Knowledgebase Article 258,915 views bookmark tags: logs


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

What are Raw Access Logs and how do I view them?
Knowledgebase Article 277,335 views tags: access log logs raw

This article will explain how to view the email logs on a Dedicated or VPS server. This may be usefull if you are experiencing trouble with your email.
Knowledgebase Article 148,973 views tags: dedi dedicated logs mail vps whm

Look for the error message that most closely matches the one you received.
Knowledgebase Article 199,144 views tags: email error

Related Help Content

Website shows a server 500 error, what can I do to fix it?
Knowledgebase Article 721,227 views tags: error

This article will explain some common causes for 500 errors on Dedicated or V.P.S servers.
Knowledgebase Article 130,738 views tags: dedi dedicated error server vps

A list of common log files and their locations.
Knowledgebase Article 124,718 views tags: dedi dedicated directory file folder list locations logs vps

How to enable the function to manually update AwStats
Knowledgebase Article 315,811 views tags: awstats logs manual statistics stats update

My install of WordPress has a white screen, what should I do to fix it?
Knowledgebase Article 379,926 views tags: error wordpresstools wordress wsod

How to customize your html or php error pages.
Knowledgebase Article 164,122 views tags: errors php

Error Log receiving this error: PHP Warning: Zend Optimizer for PHP 4.4.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.5.10/php-4.4.x/ZendOptimizer.so') - try reinstalling the Zend Op
Knowledgebase Article 157,111 views tags: found optimizer zend

This article explains error pages and how they can be customized.
Knowledgebase Article 321,285 views tags: customize pages

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here