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 Manage Global Record Actions in SuiteCRM

SuiteCRM is a handy and versatile CMS that allows you to manage customer relationships, leads, and business processes within a single platform. One of the many useful SuiteCRM features is the Global Record Actions - a tool that lets you take quick actions across...

How to make Bulk Actions in SuiteCRM

By using bulk actions in SuiteCRM, you can save time, effort, and deal faster with repetitive tasks. Whether you wish to update several plugins, assign records, or mass delete modules, bulk actions make everything faster and easier. In this article, we share how to...

How to Use Filters in SuiteCRM

Filters in SuiteCRM are a handy feature that helps you quickly organize your website data and easily find, sort, and analyze specific records across your modules. You can use filters to quickly find leads, organize your workflow, and access a specific class of data in...

How to Customize Menus in SuiteCRM

SuiteCRM grants you the option to customise your website menus and control what modules appear in them, how they are grouped and in what categories. This customisation can help you improve user workflow and reduce clutter, especially if you are working on a large...

How to Add Charts to the Sidebar in SuiteCRM

Àlthough SuiteCRM doesn't support adding charts directly to the sidebar, there is a simple method that you can use to achieve the effect. In this guide, we share how to do so.   How to Add Charts to the Sidebar in SuiteCRM The process is comprised of a few...



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 Manage Global Record Actions in SuiteCRM

SuiteCRM is a handy and versatile CMS that allows you to manage customer relationships, leads, and business processes within a single platform. One of the many useful SuiteCRM features is the Global Record Actions - a tool that lets you take quick actions across...

How to make Bulk Actions in SuiteCRM

By using bulk actions in SuiteCRM, you can save time, effort, and deal faster with repetitive tasks. Whether you wish to update several plugins, assign records, or mass delete modules, bulk actions make everything faster and easier. In this article, we share how to...

How to Use Filters in SuiteCRM

Filters in SuiteCRM are a handy feature that helps you quickly organize your website data and easily find, sort, and analyze specific records across your modules. You can use filters to quickly find leads, organize your workflow, and access a specific class of data in...

How to Customize Menus in SuiteCRM

SuiteCRM grants you the option to customise your website menus and control what modules appear in them, how they are grouped and in what categories. This customisation can help you improve user workflow and reduce clutter, especially if you are working on a large...

How to Add Charts to the Sidebar in SuiteCRM

Àlthough SuiteCRM doesn't support adding charts directly to the sidebar, there is a simple method that you can use to achieve the effect. In this guide, we share how to do so.   How to Add Charts to the Sidebar in SuiteCRM The process is comprised of a few...

How to Add Subpanel Filters in SuiteCRM

SuiteCRM's subpanels can be very useful in various situations, such as showing related records (like contacts under an account). However, as your database grows, so does the scrolling time through unfiltered subpanels. Fortunately, you can add filters to subpanels, so...

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.