当前位置:网站首页>Ubuntu 14.04 下开启PHP错误提示
Ubuntu 14.04 下开启PHP错误提示
2022-07-03 12:38:00 【星哥玩云】
Ubuntu 14.04中,默认的PHP开发环境配置是不提示所有的警告、错误信息的。这对于开发者来说是很痛苦的。在此记录下配置方法,留作以后方便使用。
1、修改php配置文件php.ini
sudo gedit /etc/php5/apache2/php.ini
把 display_errors = Off 改为 display_errors = On
把 error_reporting = xxx 改为 error_reporting = E_ALL | E_STRICT
2、重启apache
sudo /etc/init.d/apache2 restart
OK!好好享受吧!
边栏推荐
- Tutoriel PowerPoint, comment enregistrer une présentation sous forme de vidéo dans Powerpoint?
- 2022-02-11 practice of using freetsdb to build an influxdb cluster
- Logback 日志框架
- C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep271
- Introduction to the implementation principle of rxjs observable filter operator
- 2022-01-27 redis cluster brain crack problem analysis
- 18W word Flink SQL God Road manual, born in the sky
- 道路建设问题
- Mysql database basic operation - regular expression
- PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
猜你喜欢
Sword finger offer 12 Path in matrix
Leetcode234 palindrome linked list
2022-02-11 heap sorting and recursion
高效能人士的七个习惯
用户和组命令练习
Flink SQL knows why (16): dlink, a powerful tool for developing enterprises with Flink SQL
【R】【密度聚类、层次聚类、期望最大化聚类】
February 14, 2022, incluxdb survey - mind map
STM32 and motor development (from MCU to architecture design)
File uploading and email sending
随机推荐
Mysql database basic operation - regular expression
An example of newtonjason
Oracle memory management
Tencent cloud tdsql database delivery and operation and maintenance Junior Engineer - some questions of Tencent cloud cloudlite certification (TCA) examination
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - using asynchronous
有限状态机FSM
Logback log framework
Convolution emotion analysis task4
When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution
Idea full text search shortcut ctr+shift+f failure problem
elk笔记24--用gohangout替代logstash消费日志
Flink SQL knows why (XIV): the way to optimize the performance of dimension table join (Part 1) with source code
2022-02-13 plan for next week
mysqlbetween实现选取介于两个值之间的数据范围
Cadre de logback
2022-02-11 heap sorting and recursion
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter IV exercises]
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]
Reptile
R语言使用data函数获取当前R环境可用的示例数据集:获取datasets包中的所有示例数据集、获取所有包的数据集、获取特定包的数据集