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.
Can you try adding these lines to your .htaccess
file and upload it to root directory.
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off