Why am I getting PHP errors on my site?

We use mod_security to secure web applications on our servers. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.

If you find that mod_security is interfering too much with your web applications, you can disable it easily.

  1. Create an .htaccess file in the directory of the script that is having trouble.
  2. To disable mod_security completely, add one of the following line to the .haccess file and save.
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>

To disable HTTP POST scanning only, use the following instead:

<IfModule mod_security.c>
SecFilterScanPOST Off
</IfModule>