SQL Server Database Mirroring – A Perfect Solution for Disaster Recovery
Disaster recovery! Makes you restless, right? What if it turns into reality with your business?…
In this article, we will explain how to enable and disable PHP error message settings in a .htaccess file.
Follow the following steps to enable and disable PHP error message settings.
1. Log into your account using SSH.
2. Now, you need to use a text editor here to modify the .htaccess files as follows:
Add the next line to stop PHP from showing error messages:
php_flag display_errors Off
Add the following line, to allow PHP to display error messages.
php_flag display_errors On
3. Click to Save the changes to the .htaccess file and exit the text editor.
4. To check the new setting is active, create a PHP test file that contains the following code in the same directory where the .htaccess file is located.
<?php phpinfo(); ?>
5. Search for the directive’s name after loading the test file in your web browser. The new setting that you defined in the .htaccess file should appear in the Local Value column.
In this way, you can enable and disable PHP error message settings in an .htaccess file.
Explore more hosting insights, tips and industry updates.
Disaster recovery! Makes you restless, right? What if it turns into reality with your business?…
This topic shows how Plesk users can use the Customer Panel to manage PHP settings…
Add these Lines under httpd.conf file========================ServerAdmin [email protected] /home/securea/public_htmlBytesLog domlogs/secure.avmdvds.com-bytes_logServerName www.secure.avmdvds.comScriptAlias /cgi-bin/ /home/securea/public_html/cgi-bin/CustomLog /usr/local/apache/domlogs/secure.avmdvds.com-ssl_log “%t %{version}c…