add quote signs to error_log in php.ini
Posted by: bviktor (---.06ec54.tvnetwork.hu)
Date: July 08, 2009 11:41PM

i installed wamp on my windows 7 x64 installation. so i put wamp in program files (x86). but after install it failed to start due to "syntax error" in php.ini@434

so i had to put the path between quote signs like:

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

and everything's fine. i guess it would be nice to use quote signs by default.

Options: ReplyQuote
Re: add quote signs to error_log in php.ini
Posted by: bviktor (---.06ec54.tvnetwork.hu)
Date: July 08, 2009 11:52PM

hmm, i was wrong. it starts up, i can load the start page on 127.0.0.1, but when i try to launch phpmyadmin:

phpMyAdmin - Error
Cannot load mysqli extension. Please check your PHP configuration. - Documentation

the problem goes away if i use program files instead of program files (x86). any ideas?

Options: ReplyQuote
Re: add quote signs to error_log in php.ini
Posted by: yfastud (Moderator)
Date: July 09, 2009 12:03AM

I've mentioned about this before that wamp users should avoid bank space and special characters in path when installing wamp

Have fun,

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

Options: ReplyQuote
Re: add quote signs to error_log in php.ini
Posted by: bviktor (---.06ec54.tvnetwork.hu)
Date: July 09, 2009 12:05AM

spaces are fine... the problem seems to be the parentheses

so it won't be fixed i guess?

Options: ReplyQuote
Re: add quote signs to error_log in php.ini
Posted by: toumimi (---.237.115-78.rev.gaoland.net)
Date: July 09, 2009 06:23AM

You're right for parentheses in path.

Function parse_ini_file is used to read php.ini file and this is from the documentation :
Quote

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.

We shouldn't use those reserved characters into values (special meaning).

If someone can hear you and correct this by adding quotes...
This is the only one path that is not between quotes sad smiley

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.