note 87715 added to configuration

From: Date: Thu, 18 Dec 2008 03:00:14 +0000
Subject: note 87715 added to configuration
Groups: php.notes 
Request: Send a blank email to php-notes+get-148288@lists.php.net to get a copy of this message
The php.ini parser will discard the file contents silently if any syntax error occurs. In my case, I accidentally commented out a line in the beginning of the file with a hash mark instead of a semi-colon. This prevented from even seeing the error messages. Particularly, I could not understand why my changes of session.save_path do not show up in ini_get() and ini_get_all() output. Very, very nasty issue. I suggest PHP authors to write a message about a syntax error in php.ini to stderr. Pretty please! ---- Server IP: 216.235.15.211 Probable Submitter: 208.65.73.114 ---- Manual Page -- http://www.php.net/manual/en/configuration.php Edit -- https://master.php.net/note/edit/87715 Del: integrated -- https://master.php.net/note/delete/87715/integrated Del: useless -- https://master.php.net/note/delete/87715/useless Del: bad code -- https://master.php.net/note/delete/87715/bad+code Del: spam -- https://master.php.net/note/delete/87715/spam Del: non-english -- https://master.php.net/note/delete/87715/non-english Del: in docs -- https://master.php.net/note/delete/87715/in+docs Del: other reasons-- https://master.php.net/note/delete/87715 Reject -- https://master.php.net/note/reject/87715 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#148288) next »