Travel Technical About

Fawas Technical Blog

My technical knowledge to share to the societies.
Back-to-Topic-List Warning report not appeared in PHP5
 

Some version of PHP especially since PHP 5, the warning report doesn't appeared, how to solve it?

To solved it by reconfig the php.ini file by follow the steps below.

 
1

Open terminal by Applications → Accessories → Terminal

or Ctrl+Alt-t

Warning report not appeared in PHP5
2

To make sure, just backup php.ini file before config it, by type this code in Terminal

sudo cp /etc/php5/apache2/php.ini /etc/php5/apache2/php-bak.ini

Warning report not appeared in PHP5
3

Open file php.ini by sudo, type in terminal

sudo gedit /etc/php5/apache2/php.ini

Warning report not appeared in PHP5
4

Make sure that lines are configed as follow,

error_reporting = E_ALL & ~E_NOTICE

display_errors = On

display_startup_errors = On

track_errors = On

html_errors = On

Warning report not appeared in PHP5
5

Save and Close

6

Restart the server

sudo /etc/init.d/apache2 restart

Warning report not appeared in PHP5
   
 
 
 
  HomeTripsWallpapersAbout
 
There is "NO copyright" in fawasblog.com, all detail, sentence, picture can be used without asking permission! :)   2005-2010 by Karn (Fawas) Prapertchob