note 114091 added to function.ini-set
| From: | williamprogphpatyahoodotcomdotbr | Date: | Fri, 10 Jan 2014 12:20:22 +0000 |
| Subject: | note 114091 added to function.ini-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198189@lists.php.net to get a copy of this message | ||
I figured out why php dont output errors such as an expected ';' on code and output a 500
error. Some server are configured to omit php errors on pages using the directive
display_errors=Off;
In most cases, the server will output a 500 Internal Server Error instead of php error because of
it.
To prevent this default you must set this directive directly in the php.ini file and the server will
show you the php error properly. Setting ini_set('display_errors', true) on-the-fly wont
work.
----
Server IP: 187.73.33.52
Probable Submitter: 177.43.119.65
----
Manual Page -- http://php.net/manual/en/function.ini-set.php
Edit -- https://master.php.net/note/edit/114091
Del: integrated -- https://master.php.net/note/delete/114091/integrated
Del: useless -- https://master.php.net/note/delete/114091/useless
Del: bad code -- https://master.php.net/note/delete/114091/bad+code
Del: spam -- https://master.php.net/note/delete/114091/spam
Del: non-english -- https://master.php.net/note/delete/114091/non-english
Del: in docs -- https://master.php.net/note/delete/114091/in+docs
Del: other reasons-- https://master.php.net/note/delete/114091
Reject -- https://master.php.net/note/reject/114091
Search -- https://master.php.net/manage/user-notes.php