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 Configure Your Online Store in Zen Cart

Configuring your online store with Zen Cart is quite simple, and in this article, we share the steps you can take to get the most out of the platform.   1. Install Zen Cart The first step is to install Zen Cart. The platform is free to use with all AwardSpace...

How to Customize the Dashboard in SuiteCRM

SuiteCRM is a versatile CMS that allows you to customise the dashboard in numerous ways. The platform lets you tailor your workspace, so you can see relevatnt data and tools for your role and the role of your colleagues. In this article, we share how to customise the...

How to Manage Modules in SuiteCRM

SuiteCRM is a flexible platform that allows you to customise all aspects of the system just the way they work best for you. One of the ways that this is made possible is by using the SuiteCRM modules - handy tools that help you customise the platform, so you get the...

How to Add Dashlets to SuiteCRM

SuiteCRM is a handy and versatile CRM that provides you with tons of customisation options that help you manage your business easily and effectively. One of CRM's great features is the inclusion of dashlets, which are simple widgets that display specific data or...

How to Log in to SuiteCRM

After you install SuiteCRM, you can log in to the CMS and start managing various business processes. To be able to log in, you need to open the SuiteCRM admin login page, type in your credentials and then open the platform's admin panel. 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 Configure Your Online Store in Zen Cart

Configuring your online store with Zen Cart is quite simple, and in this article, we share the steps you can take to get the most out of the platform.   1. Install Zen Cart The first step is to install Zen Cart. The platform is free to use with all AwardSpace...

How to Customize the Dashboard in SuiteCRM

SuiteCRM is a versatile CMS that allows you to customise the dashboard in numerous ways. The platform lets you tailor your workspace, so you can see relevatnt data and tools for your role and the role of your colleagues. In this article, we share how to customise the...

How to Manage Modules in SuiteCRM

SuiteCRM is a flexible platform that allows you to customise all aspects of the system just the way they work best for you. One of the ways that this is made possible is by using the SuiteCRM modules - handy tools that help you customise the platform, so you get the...

How to Add Dashlets to SuiteCRM

SuiteCRM is a handy and versatile CRM that provides you with tons of customisation options that help you manage your business easily and effectively. One of CRM's great features is the inclusion of dashlets, which are simple widgets that display specific data or...

How to Log in to SuiteCRM

After you install SuiteCRM, you can log in to the CMS and start managing various business processes. To be able to log in, you need to open the SuiteCRM admin login page, type in your credentials and then open the platform's admin panel. In this article, we share how...

How to Install SuiteCRM

SuiteCRM is a versatile platform that allows you to manage various aspects of your business - relations with potential customers, clients and sales forecasting. The platform is easy to use and comes with many features that allow you to deal with your business...

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.