当前位置:网站首页>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!好好享受吧!
边栏推荐
- When we are doing flow batch integration, what are we doing?
- Loan calculator my pressure is high
- 有限状态机FSM
- [combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number
- Introduction to the implementation principle of rxjs observable filter operator
- Today's sleep quality record 77 points
- 2022-02-09 survey of incluxdb cluster
- Flink SQL knows why (XI): weight removal is not only count distinct, but also powerful duplication
- SLF4J 日志门面
- 2022-01-27 redis cluster cluster proxy predixy analysis
猜你喜欢

When we are doing flow batch integration, what are we doing?

2022-02-09 survey of incluxdb cluster

Logseq 评测:优点、缺点、评价、学习教程

Flink SQL knows why (XIV): the way to optimize the performance of dimension table join (Part 1) with source code

Gan totem column bridgeless boost PFC (single phase) seven PFC duty cycle feedforward

Smbms project

My creation anniversary: the fifth anniversary
![[combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number](/img/9d/6118b699c0d90810638f9b08d4f80a.jpg)
[combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number

File uploading and email sending

regular expression
随机推荐
sitesCMS v3.0.2发布,升级JFinal等依赖
今日睡眠质量记录77分
2022-01-27 redis cluster brain crack problem analysis
My creation anniversary: the fifth anniversary
Mysql database basic operation - regular expression
Logseq 评测:优点、缺点、评价、学习教程
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - using asynchronous
2022-02-14 analysis of the startup and request processing process of the incluxdb cluster Coordinator
剑指 Offer 12. 矩阵中的路径
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter III exercises]
Sword finger offer14 the easiest way to cut rope
Flink SQL knows why (XI): weight removal is not only count distinct, but also powerful duplication
Image component in ETS development mode of openharmony application development
PowerPoint 教程,如何在 PowerPoint 中將演示文稿另存為視頻?
C graphical tutorial (Fourth Edition)_ Chapter 18 enumerator and iterator: enumerator samplep340
Flink SQL knows why (7): haven't you even seen the ETL and group AGG scenarios that are most suitable for Flink SQL?
mysqlbetween实现选取介于两个值之间的数据范围
Kotlin - improved decorator mode
Differences and connections between final and static
February 14, 2022, incluxdb survey - mind map