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:

Create an FTP Account

In this article, we will show you how to create an FTP account using the AwardSpace hosting panel. The process is simple and comprises only a few steps. Please note that you must be registered for any of our web hosting plans to utilize this feature. Here's how to...

How to Access the File Manager

All AwardSpace hosting plans include a handy file management tool called File Manager. It is instantly available after you subscribe to any of our plans, including our free hosting, or register a domain name with AwardSpace. By using the File Manager, you can manage...

How to Access Your Website Usage Report

All AwardSpace hosting plans include a handy analytics tool that allows you to monitor your hosting features and their usage. Once you subscribe to any of our plans or register a domain name with AwardSpace, including our free hosting, you have the option readily...

How to Add Dynamic Fields in Vtiger

Vtiger is a versatile CMS that you can use for free with all AwardSpace hosting plans. The CMS offers numerous options to manage your online business, workflows, and team roles. Among other useful tweaks, Vtiger also provides you with dynamic fields and layouts that...



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

Create an FTP Account

In this article, we will show you how to create an FTP account using the AwardSpace hosting panel. The process is simple and comprises only a few steps. Please note that you must be registered for any of our web hosting plans to utilize this feature. Here's how to...

How to Access the File Manager

All AwardSpace hosting plans include a handy file management tool called File Manager. It is instantly available after you subscribe to any of our plans, including our free hosting, or register a domain name with AwardSpace. By using the File Manager, you can manage...

How to Access Your Website Usage Report

All AwardSpace hosting plans include a handy analytics tool that allows you to monitor your hosting features and their usage. Once you subscribe to any of our plans or register a domain name with AwardSpace, including our free hosting, you have the option readily...

How to Add Dynamic Fields in Vtiger

Vtiger is a versatile CMS that you can use for free with all AwardSpace hosting plans. The CMS offers numerous options to manage your online business, workflows, and team roles. Among other useful tweaks, Vtiger also provides you with dynamic fields and layouts that...

How to Add Tags in Vtiger

Tags in Vtiger grant you the possibility to quickly and efficiently organize and retrieve records. Tags work like labels, allowing you to distribute leads, contacts, opportunities, tickets, and other entries into different categories based on a set of criteria. What...

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.