How to Log PHP Error Messages

Home » Knowledge Base » Control Panel » PHP Settings » How to Log PHP Error Messages

In a production environment, it is often preferable to log PHP error messages instead of displaying them to users. AwardSpace provides various hosting plans that support comprehensive PHP configurations, making it easy to log errors and maintain a secure environment. This article will guide you through the steps to enable error logging for PHP scripts using your AwardSpace control panel.

Steps to Log PHP Error Messages

    1. Log in to your AwardSpace account and navigate to the PHP Settings menu.The PHP Settings menu in the hosting control panel.
    2. Enter the php.ini configuration options in the PHP settings section.The menu in which you configure the PHP settings.
    3. Locate the following directive within the PHP ini file:
      log_errors = Off
      The disabled PHP directive that allows to log errors.
    4. Change the directive to the following:
      log_errors = On
      The enabled PHP directive that allows to log errors.
    5. After making the change, ensure you save it by clicking the Save button.

By following these steps, you can effectively enable error logging for PHP, which helps in maintaining a secure and stable production environment. Logging errors instead of displaying them prevents sensitive information from being exposed to users, enhancing the security of your web applications. For further assistance or more advanced configurations, feel free to explore our AwardSpace Hosting Plans and additional resources or contact our support team.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Purchase a Semi-Dedicated Hosting Plan

You can quickly and easily purchase a Semi-Dedicated hosting plan with AwardSpace. You only need a few clicks and a few minutes of your time. Here's what to do. First, log in to the AwardSpace hosting panel. Then, head to Semi-Dedicated Hosting in the Buy Services...

How to Purchase a VPS Hosting Plan

Purchasing а VPS hosting plan with AwardSpace is simple. You only need to follow a few steps, and you will have the setup made in no time. Here's how to proceed. First, log in to the AwardSpace hosting panel. Then, click on the Virtual Private Servers (VPS) icon...

How to Check My Hosting Limits

To check your hosting limits, follow these steps: First, log in to the hosting control panel. Then, via the dashboard, head to Hosting Settings:   After that, click the Hosting Limits tab:   Then, you will access the information about your account's hosting...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Purchase a Semi-Dedicated Hosting Plan

You can quickly and easily purchase a Semi-Dedicated hosting plan with AwardSpace. You only need a few clicks and a few minutes of your time. Here's what to do. First, log in to the AwardSpace hosting panel. Then, head to Semi-Dedicated Hosting in the Buy Services...

How to Purchase a VPS Hosting Plan

Purchasing а VPS hosting plan with AwardSpace is simple. You only need to follow a few steps, and you will have the setup made in no time. Here's how to proceed. First, log in to the AwardSpace hosting panel. Then, click on the Virtual Private Servers (VPS) icon...

How to Check My Hosting Limits

To check your hosting limits, follow these steps: First, log in to the hosting control panel. Then, via the dashboard, head to Hosting Settings:   After that, click the Hosting Limits tab:   Then, you will access the information about your account's hosting...

How to Access the Security Settings of My Domains

Accessing the security settings of your hosted domains is easy with AwardSpace. You can access the settings in just a few minutes by following the steps below. First, log in to the AwardSpace hosting panel. Then, head to the Domain Manager page by clicking the...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.