This topic is locked
[SOLVED]

hide php error details

3/28/2021 9:15:54 PM
PHPRunner General questions
M
m.salahi author

ho every one

how i can hide php error details from end users

i don't want the end users see my php error details

M
m.salahi author 3/28/2021

i modify in php.ini
display_errors = off

and i modify in .htaccess
php_flag display_errors off

but still the error display

Tandy 3/28/2021

Did you restart your php server? or restart the whole server.

M
m.salahi author 3/29/2021

yes i do
but still not working

S
sthefaine 3/30/2021

Hi have you tried in phprunner to go all the way to the end to the output tab. On that tab there is a button that says error reporting. If you click it you can turn off detail error reporting and put your own custom message. Hope this does it for you. Steve

M
m.salahi author 3/31/2021

thanks very much Steve ..
php error details hide

and now i can write my own message