How can I disable all php errors using my htaccess?
I don't have access to the php.ini file on my server.
Can I hide errors using some code in htaccess?
How can I disable all php errors using my htaccess?
I don't have access to the php.ini file on my server.
Can I hide errors using some code in htaccess?
Add the following line to your .htaccess file in the Root directory
php_value display_errors Off
This tells the apache web server to hide php errors for all directories and sub directories on the server.