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 Check the PHP Settings of My Domains

Checking the PHP settings of your domains is simple. In fact, accessing any information for your domains is easy with AwardSpace. To check your domain's PHP settings, log in to the AwardSpace hosting panel first. Then, click on Domain Manager:   After that, from...

How to Check the Pointers of My Domains

Checking the pointers of domains is quite simple. In fact, checking any information about your domains is easy with AwardSpace. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   Then, click the Settings icon to the right of the hosted...

How to Access the Information About My Domains

AwardSpace grants you access to any kind of information regarding your registered domains. In the following paragraphs, you can read how to access it. In order to access any kind of information regarding your domains, you should first register one. Optionally, you can...

How to Add Directory Password Protection

Adding directory password protection with AwardSpace is simple. The process consists of only a few steps and requires only a few minutes of your time. Here's how to proceed. First, log in to the AwardSpace hosting panel. Then, via the dashboard, head to Password...

How to Access Password Protection FAQ

If you have any questions about the directory password protection, then this article is for you. Accessing the Password Protection FAQ is quite simple. First, log in to the AwardSpace hosting panel. Then, head to Password Protection, located in the Website Manager...



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 Check the PHP Settings of My Domains

Checking the PHP settings of your domains is simple. In fact, accessing any information for your domains is easy with AwardSpace. To check your domain's PHP settings, log in to the AwardSpace hosting panel first. Then, click on Domain Manager:   After that, from...

How to Check the Pointers of My Domains

Checking the pointers of domains is quite simple. In fact, checking any information about your domains is easy with AwardSpace. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   Then, click the Settings icon to the right of the hosted...

How to Access the Information About My Domains

AwardSpace grants you access to any kind of information regarding your registered domains. In the following paragraphs, you can read how to access it. In order to access any kind of information regarding your domains, you should first register one. Optionally, you can...

How to Add Directory Password Protection

Adding directory password protection with AwardSpace is simple. The process consists of only a few steps and requires only a few minutes of your time. Here's how to proceed. First, log in to the AwardSpace hosting panel. Then, via the dashboard, head to Password...

How to Access Password Protection FAQ

If you have any questions about the directory password protection, then this article is for you. Accessing the Password Protection FAQ is quite simple. First, log in to the AwardSpace hosting panel. Then, head to Password Protection, located in the Website Manager...

How to Access the FTP FAQ Section

AwardSpace provides each of our clients with a detailed FAQ section that can help you understand and work better with your FTP client. To access the FTP FAQ section, first log in to the AwardSpace hosting panel. Then, click the FTP Manager icon, located within 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.