当前位置:网站首页>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!好好享受吧!
边栏推荐
- 剑指 Offer 17. 打印从1到最大的n位数
- luoguP3694邦邦的大合唱站队
- 2022-01-27 redis cluster brain crack problem analysis
- Loan calculator my pressure is high
- A large select drop-down box, village in Chaoyang District
- C graphical tutorial (Fourth Edition)_ Chapter 15 interface: interfacesamplep268
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter V exercises]
- 2022-01-27 use liquibase to manage MySQL execution version
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter 7 exercises]
- 2022-02-09 survey of incluxdb cluster
猜你喜欢

显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti

Idea full text search shortcut ctr+shift+f failure problem

双链笔记 RemNote 综合评测:快速输入、PDF 阅读、间隔重复/记忆
![【R】 [density clustering, hierarchical clustering, expectation maximization clustering]](/img/a2/b287a5878761ee22bdbd535cae77eb.png)
【R】 [density clustering, hierarchical clustering, expectation maximization clustering]

Flink SQL knows why (19): the transformation between table and datastream (with source code)

Flink SQL knows why (VIII): the wonderful way to parse Flink SQL tumble window

Brief introduction to mvcc

【数据库原理及应用教程(第4版|微课版)陈志泊】【第六章习题】

Seven habits of highly effective people

When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution
随机推荐
MySQL constraints
Logseq 评测:优点、缺点、评价、学习教程
Solve system has not been booted with SYSTEMd as init system (PID 1) Can‘t operate.
Introduction to the implementation principle of rxjs observable filter operator
Detailed explanation of multithreading
Today's sleep quality record 77 points
2022-02-11 heap sorting and recursion
Logback 日志框架
Flink SQL knows why (XI): weight removal is not only count distinct, but also powerful duplication
Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)
Dojo tutorials:getting started with deferrals source code and example execution summary
SSH login server sends a reminder
[exercise 5] [Database Principle]
Oracle memory management
C graphical tutorial (Fourth Edition)_ Chapter 13 entrustment: delegatesamplep245
这本数学书AI圈都在转,资深ML研究员历时7年之作,免费电子版可看
[colab] [7 methods of using external data]
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - cases without asynchronous
【历史上的今天】7 月 3 日:人体工程学标准法案;消费电子领域先驱诞生;育碧发布 Uplay
C graphical tutorial (Fourth Edition)_ Chapter 18 enumerator and iterator: enumerator samplep340