.htaccess - How to enable php display_error on in my cPanel -
i went through whatever there , showed me add these 2 lines in .htaccess
file.
php_flag display_errors on php_value error_reporting "e_all & ~e_strict & ~e_notice"
but error log message :
invalid command 'php_flag', perhaps misspelled or defined module not included in server configuration
there popular question in stackoverflow : here there has been answered considering user has local server. here writing php scripts direclty on hostgator cpanel , want see line number , other useful information debugging, still nothing useful found.
and doing bit more digging here tells need add own php.ini file. when added php.ini file , added 2 lines nothing shown. how can debug php code if writing script direcly on cpanel ?
Comments
Post a Comment