当前位置:网站首页>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!好好享受吧!
边栏推荐
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter III exercises]
- 对业务的一些思考
- Leetcode234 palindrome linked list
- Sword finger offer 16 Integer power of numeric value
- Kotlin - 改良装饰者模式
- Sword finger offer 15 Number of 1 in binary
- Annotation and reflection
- php:  The document cannot be displayed in Chinese
- 关于CPU缓冲行的理解
- 今日睡眠质量记录77分
猜你喜欢

Introduction to the implementation principle of rxjs observable filter operator

2022-02-14 incluxdb cluster write data writetoshard parsing

35道MySQL面试必问题图解,这样也太好理解了吧
![【R】 [density clustering, hierarchical clustering, expectation maximization clustering]](/img/a2/b287a5878761ee22bdbd535cae77eb.png)
【R】 [density clustering, hierarchical clustering, expectation maximization clustering]

已解决TypeError: Argument ‘parser‘ has incorrect type (expected lxml.etree._BaseParser, got type)

有限状态机FSM

MySQL

【历史上的今天】7 月 3 日:人体工程学标准法案;消费电子领域先驱诞生;育碧发布 Uplay

Sword finger offer14 the easiest way to cut rope

File uploading and email sending
随机推荐
【数据库原理及应用教程(第4版|微课版)陈志泊】【第六章习题】
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - cases without asynchronous
Sword finger offer 12 Path in matrix
My creation anniversary: the fifth anniversary
2022-02-14 analysis of the startup and request processing process of the incluxdb cluster Coordinator
Sword finger offer 17 Print from 1 to the maximum n digits
2022-01-27 use liquibase to manage MySQL execution version
The difference between stratifiedkfold (classification) and kfold (regression)
In the promotion season, how to reduce the preparation time of defense materials by 50% and adjust the mentality (personal experience summary)
February 14, 2022, incluxdb survey - mind map
Servlet
Deeply understand the mvcc mechanism of MySQL
Logseq evaluation: advantages, disadvantages, evaluation, learning tutorial
Flink SQL knows why (7): haven't you even seen the ETL and group AGG scenarios that are most suitable for Flink SQL?
显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti
Flink code is written like this. It's strange that the window can be triggered (bad programming habits)
2022-01-27 redis cluster cluster proxy predixy analysis
Sword finger offer 16 Integer power of numeric value
When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution
CVPR 2022 image restoration paper