In Ubuntu14.04, the default PHP development environment configuration does not prompt all warning and error messages. This is very painful for developers. Record the configuration method here for future convenience. 1. Modify the php configuration file php. inisudogedit/etc/php5/apache2/php. ini and change display_errors = Off TO display_errors = On.
In Ubuntu 14.04, the default PHP development environment configuration does not prompt all warning and error messages. This is very painful for developers. Record the configuration method here for future convenience.
1. Modify the php configuration file php. ini.
Sudo gedit/etc/php5/apache2/php. ini
Change display_errors = Off TO display_errors = On.
Change error_reporting = xxx to error_reporting = E_ALL | E_STRICT
2. Restart apache
Sudo/etc/init. d/apache2 restart
OK! Enjoy it!
CentOS 6.3 install LNMP (PHP 5.4, MyySQL5.6) http://www.linuxidc.com/Linux/2013-04/82069.htm
Http://www.linuxidc.com/Linux/2013-03/81120.htm of two problems with Nginx startup failure when deploying LNMP
Ubuntu install Nginx php5-fpm MySQL (LNMP environment setup) http://www.linuxidc.com/Linux/2012-10/72458.htm
Php hd scan PDF + CD source code + a full set of teaching video http://www.linuxidc.com/Linux/2014-03/97536.htm
PHP details: Click here
PHP: Click here
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-09/106807.htm