PHP does not display error messages

前端 未结 5 2300
眼角桃花
眼角桃花 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:52

    To show error message on page over browser for php script use following code in top of your php file.

    
    

    and there is another way to check php error code if you are linux ubuntu user execute following command on terminal.

    NOTE : -10 is the number of message you want to show.

提交回复
热议问题