introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

parse error in ../EasyPHP.ini on line 13



Posted by: gepea
January 07, 2010 09:40AM
I have installed easyphp 5.3 in a Windows 7 environment and I get the following message on the administration page :

"Warning: parse error in ../EasyPHP.ini on line 13 .."

But everything seems working correctly (so far) !
Options: ReplyQuote
Posted by: moneymike
January 08, 2010 08:19AM
I discovered that this is a bug and I think it occurred as a result of a change in how parse_ini_file works with PHP 5.3: All values that contain a space in the ini file must be double quoted.

What is occurring is your easyphp.ini file is being read by another config file (i think i18n.inc.php) with parse_ini_file and it is coming to the last line which contains your PHP install directory (or something like that, not exactly sure). Because the directory contains a space (most likely because of "Program Files" it needs to be enclosed in double quotes. However, it is not and you (and everyone else) are getting an error. To fix this if you care to, place double quotes around the value after the = and at the end so that it looks like this:
OldRunningPath="C:\Program Files (x86)\EasyPHP5.3.0\"

The error should disappear.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.