我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Mac OSX终端不显示PHP异常

Does anyone know what needs to be done for the terminal to display exceptions thrown by the PHP code? At the moment when I trigger for instance php index.php I don't get anything even though the code within the index.php file fires the exception.

I have all error logging set to true in my php.ini (running with Mamp).

You need to have these lines uncommented in your default php.ini:

error_reporting  =  E_ALL
display_errors = On

近期文章

  • 在PHP变量中获取自定义HTML标记
  • 在Laravel中使用不同的表进行身份验证
  • 建站的步骤是什么,我想让别人输入网址就可以进入到我的网站
  • 只用了一个for循环就超时了 求解
  • 数据仓库hive面试题求解
  • 请问真随机数是保证不重复还是不保证不重复
  • Java 做一个图形界面 跪求大神!
  • NodeMCU刷完固件刚连接上ESPlorer就提示这个 是什么问题
  • NodeMCU代码有问题吗?连接不上wifi 试了网上的很多代码 都是报错
  • 带有空格,下划线,短划线和圆点的php中的preg_match [重复]
  • 将静态导航栏转换为动态
  • 当paypal重定向到返回页面时发出警报。 PHP
  • AngularJS过滤器orderBy - 数字似乎被视为字符串
  • 托管基于php mvc的网站时出现500内部服务器错误
  • 在MVC 5视图中从jQuery的$ ajax调用.php文件会产生错误405
  • 连接到DDE数据源
  • 无法显示多个图像
  • “领带”上传图像到其余[关闭]
  • 使用数组进行导航[复制]
  • 合并2个数组返回空php

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华