PHP does not display error messages

前端 未结 5 2301
眼角桃花
眼角桃花 2020-11-22 00:23

I installed XAMPP 1.7.4 (with PHP 5.3.5), the problem is PHP does not display any error messages. E.g. if I connect to MYSQL with mysql_connect() without parame

5条回答
  •  自闭症患者
    2020-11-22 00:41

    May be the display error is off

    add in .htaccess file of your application.

    php_value display_errors on
    

    OR

    use this at the top of your php script

    ini_set('display_errors',"1");
    

提交回复
热议问题