#42972 [Opn]: Double quotes in a some comments in ini file generate warning.
| From: | RQuadling at GMail dot com | Date: | Mon, 15 Oct 2007 10:53:52 +0000 |
| Subject: | #42972 [Opn]: Double quotes in a some comments in ini file generate warning. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118546@lists.php.net to get a copy of this message | ||
ID: 42972
User updated by: RQuadling at GMail dot com
Reported By: RQuadling at GMail dot com
Status: Open
Bug Type: PHP options/info functions
Operating System: Windows XP SP2
PHP Version: 5CVS-2007-10-15 (snap)
New Comment:
"Using the same php-cli.ini file for PHP5.2.5-dev and PHP5.3.0-dev" =>
"Using a copy of the php-cli.ini file for PHP5.2.5-dev for PHP5.3.0-dev"
Previous Comments:
------------------------------------------------------------------------
[2007-10-15 10:52:56] RQuadling at GMail dot com
Description:
------------
Using the same php-cli.ini file for PHP5.2.5-dev and PHP5.3.0-dev
At the command line I enter ...
php -v
I get 2 pop-up error messages.
The first is ...
syntax error, unexpected '"' in C:\PHP_INI\PHP5.3\php-cli.ini on line
445.
followed by ...
Invalid configuration directive
Line 445 of this file is ...
upload_tmp_dir = "D:\Data\PHP\File Uploads"
So, changed it to ...
upload_tmp_dir = D:\Data\PHP\File Uploads
This lines seems to have passed muster because I now get ...
syntax error, unexpected '"' in C:\PHP_INI\PHP5.3\php-cli.ini on line
459
Line 459 is ...
;from="anonymous@anonymous.com"
The comment on the from is NOT being acknowledged. Strangely enough,
not all comments are examined.
In line 41 ...
; example, if you set output_handler to "mb_output_handler", character
and in line 277
;docref_root = "/phpmanual/"
Both of these are ignored.
I don't know if the " are supposed to be there, but the errors suggest
that they should not be.
For those that are NOT comments, I can accept I have to change my ini
files, but not for comments.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42972&edit=1