How to Disable PHP Error Messages

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

When running a PHP-based website in a production environment, it’s crucial to disable PHP error messages to prevent sensitive information from being exposed to users. AwardSpace offers a variety of hosting plans tailored to different needs, all of which support comprehensive PHP configurations. This article will guide you through the steps to disable PHP error messages using your AwardSpace control panel.

Why Disable PHP Error Messages?

Displaying PHP error messages can be helpful during development as it allows you to quickly identify and fix issues in your code. However, in a live environment, these messages can reveal details about your server setup or code structure, which could be exploited by malicious users. Therefore, it’s important to disable error messages in a production environment to enhance the security and professionalism of your website.

Step-by-Step Instructions

  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 that are available in the PHP settings section.The menu in which you configure the PHP settings.
  3. Locate the directive display_errors = On within the php.ini file:
    The enabled option to display PHP errors.
  4. Change the directive to display_errors = Off. This action will prevent PHP from displaying error messages directly in the browser.
    The disabled PHP error message directive.
  5. After making the change, ensure you save it by clicking the Save button.

By following these steps, you can disable PHP error messages on your AwardSpace-hosted website, enhancing its security and professionalism. Disabling error messages prevents sensitive information from being exposed to users and helps maintain the integrity of your production environment. 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 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...

How to Access The Name Servers Settings of My Domain

Accessing the name server settings with AwardSpace is quite simple. Just follow the next steps. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   After that, locate the domain whose Name Server settings you wish to access and click...

How to Access the DNS Settings of My Domains

Accessing the DNS settings of your domains is easy with AwardSpace. The process is comprised of a few simple steps and requires only a minute or two of your time. First, log in to the AwardSpace hosting panel. Then, head to the Domain Manager:   After 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

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...

How to Access The Name Servers Settings of My Domain

Accessing the name server settings with AwardSpace is quite simple. Just follow the next steps. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   After that, locate the domain whose Name Server settings you wish to access and click...

How to Access the DNS Settings of My Domains

Accessing the DNS settings of your domains is easy with AwardSpace. The process is comprised of a few simple steps and requires only a minute or two of your time. First, log in to the AwardSpace hosting panel. Then, head to the Domain Manager:   After that,...

How to Access The Settings for My Subdomains

Accessing the settings for your subdomain with AwardSpace is quite simple. First, log in to the AwardSpace hosting panel. Then, head to Domain Manager:   A new page should open. Once you see it, scroll down until you see your list of hosted subdomains:  ...

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.