Enable errors in browser when parsing PHP-files

前端 未结 4 2156
面向向阳花
面向向阳花 2021-02-19 01:38

I recently changed to a MacBook and now use the MAMP-stack for development locally.

In my earlier development environment I always could see informative error-reports wh

4条回答
  •  萌比男神i
    2021-02-19 02:24

    Try ini_set('display_errors', 'on');

    You'll also want to check a phpinfo(), to see if the ini_sets are doing anything.

提交回复
热议问题