Hide PHP Strict Standards Errors

To hide the PHP Strict Standards Errors, create a php.ini file in your public_html directory and add the following in it:

display_errors = Off
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Was this answer helpful?

Also Read

How do I view the php info page?

Create a page name phpinfo.php and insert the below code into it. Pull this page up in your...

Changing your default timezone via PHP

You can change the time zone being displayed with a PHP script. Here is sample code:...

Access Forbidden: suPHP File Permission

Access Forbidden. You don't have permission to access / on this server. Please set the following...

How do I redirect visitors to another page using PHP?

Redirection in PHP can be done using the header() function. To setup a simple redirect, create...