Knowledge Base Article

Site shows PHP warnings / errors

PHP warnings / errors show for various reasons. In case you get such PHP messages on your website, you can do the following:

 

1) Solve the issue the warning / error is about. PHP warning / error messages are quite descriptive and you can often find the solution for the issue in the message. You can also Google-search for possible solutions of your problem. Almost certainly someone before you has had the same problem and found a solution for it;

 

2) If it is just a warning and your scripts work properly you can disable the php warnings. This can be done with a custom php.ini file containing the following line:

 display_errors = off

You can create this file using your cPanel > File Manager.

Please note that you should place this file in every folder where you need the custom settings to apply.

 

3) Order Siteground's Development services for solving the problem.



Rating

Please indicate if this article was helpful for you.

rating :  1.4 from 5
views :  924
votes :  30

Valid XHTML 1.0 Strict Valid CSS!