Here is the solution which will help:
1. Create a “php.ini” file in your public_html directory and add the following:
disabled_funcions =
extension=pdo.so
extension=pdo_mysql.so
set display_errors = 0
2. Open .htaccess and add the folowing lines of code. Note: The <Files> Section ensures that no one can access the php.ini from a webbrowser.
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/YOURUSERNAME/public_html
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>