Ignoring unhandled exception for deprecated comment error in mcrypt.ini
<p>I made a web application that is hosted on a external server, now i'm getting the following error:</p>

<pre><code>Unhandled Exception

Message:

Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1
Location:

Unknown on line 0
</code></pre>

<p>I know that it's an easy fix to just change the # to ; in mcrypt.ini but the hosting service doesn't want to change the file and the only thing that they want to do is upgrade the server which they say that I have to pay for...</p>

<p>Is there a way in my web app that i can ignore errors like this?</p>

<p>I tried error_reporting(0); but this does not seem to work.</p>
