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 Install Themes in Zenphoto

Zenphoto allows you to customize the look of your online gallery by incorporating various themes. If you are interested in learning how to install themes in Zenphoto, then this article will guide you through the entire process - from browsing and downloading, through...

How to Add Tags in Zenphoto

Tags are a handy feature for organizing your Zenphoto images and albums. Tags not only help you and your visitors navigate more easily and quickly through your website, but also improve its discoverability in search engines, and can also help you generate more organic...

How to Upload Files in Zenphoto

Knowing how to upload files in Zenphoto is a fundamental skill. In this guide, we share how to go through the process and manage your project and media library quickly and easily.   Step 1: Log in to Zenphoto The first step in the process is to log in to...

How to Back Up your TYPO3 Project

In this article, we outline the step-by-step process for backing up your TYPO3 project, ensuring that all your data, settings, and other essential information are safely stored. Regardless of your level of expertise, this method is simple to follow and provides...

How to Install Themes in TYPO3

Learning how to install themes in TYPO3 is essential, as it enables you to personalize your website fully. Whether you are working on a personal blog or a complex business website, the process of installing a theme in TYPO3 is the same. In this article, we share how...



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 Install Themes in Zenphoto

Zenphoto allows you to customize the look of your online gallery by incorporating various themes. If you are interested in learning how to install themes in Zenphoto, then this article will guide you through the entire process - from browsing and downloading, through...

How to Add Tags in Zenphoto

Tags are a handy feature for organizing your Zenphoto images and albums. Tags not only help you and your visitors navigate more easily and quickly through your website, but also improve its discoverability in search engines, and can also help you generate more organic...

How to Upload Files in Zenphoto

Knowing how to upload files in Zenphoto is a fundamental skill. In this guide, we share how to go through the process and manage your project and media library quickly and easily.   Step 1: Log in to Zenphoto The first step in the process is to log in to...

How to Back Up your TYPO3 Project

In this article, we outline the step-by-step process for backing up your TYPO3 project, ensuring that all your data, settings, and other essential information are safely stored. Regardless of your level of expertise, this method is simple to follow and provides...

How to Install Themes in TYPO3

Learning how to install themes in TYPO3 is essential, as it enables you to personalize your website fully. Whether you are working on a personal blog or a complex business website, the process of installing a theme in TYPO3 is the same. In this article, we share how...

How to Add Extensions to TYPO3

TYPO3 is a versatile platform that allows you to customize it any way you wish. One of TYPO3's strengths is the so-called extensions that enable you to add any kind of functionality to your website. In this article, we share how to add extensions to TYPO3. What are...

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.