error_log missing quotes
Posted by: DaveSwift (---.onepica.com)
Date: August 31, 2009 07:43PM

I am currently running WampServer 2.0 with PHP 5.3.0 and 5.2.9-2. In the php.ini file that comes pre-setup with wamp, I have the following line:

error_log = C:/Program Files (x86)/wamp/logs/php_error.log

The value should be wrapped in quotes since there are (or at least could be) spaces/other in the path. Without changing this line, the ini file fails out at this point.

I didn't see a place to report bugs, so I am posting it here.

Options: ReplyQuote
Re: error_log missing quotes
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 31, 2009 07:46PM

It is best to install wamp to just C:/ rather than C:/program files.

Options: ReplyQuote
Re: error_log missing quotes
Posted by: yfastud (Moderator)
Date: August 31, 2009 11:07PM

yep, try to avoid blank space in path when installing wamp as well as when setting up document root for projects winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: error_log missing quotes
Posted by: toumimi (---.54.140-88.rev.gaoland.net)
Date: September 01, 2009 02:35PM

But... you"re right.
It is the last path that is not between quotes and make problems from anyone which install it in a folder containing parentheses.
Note that space in this particular file is not the problem.. See php_ini_file

See function parse_ini_file on php.net
Quote

Note:
If a value in the ini file contains any non-alphanumeric characters it needs to be enclosed in double-quotes ("winking smiley.

Note:
There are reserved words which must not be used as keys for ini files. These include: null, yes, no, true, false, on, off, none. Values null, no and false results in "", yes and true results in "1".
Characters {}|&~![()^" must not be used anywhere in the key and have a special meaning in the value.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.