php

php错误调试技巧

  1. 进入程序目录,运行php -S 0.0.0.0:5000,然后浏览器访问程序,就可以实时看到错误日志
  2. php-fpm可以开启慢执行日志

 

Leave a Reply

Your email address will not be published. Required fields are marked *