Answer the question
In order to leave comments, you need to log in
What is the error when starting Apache on Windows 8.1?
Installed the server (Apache 2.4.7, PHP 5.5.8) on Windows 8.1 using this article
as a guide . I can’t ask in the comments there, because it’s read-only .
When you run httpd.exe, Apache starts, but an error pops up:
The following is written in php.ini on the 976th line:
What does this mean and how to fix it? Tell me please.
Answer the question
In order to leave comments, you need to log in
First: never trust which line the error points to. Sometimes you can look at the line BEFORE the error (975), but there are many exceptions.
As far as I remember, the error is in the use of quotation marks.. (Well, it is logical that the syntax is in any case). I didn't put something somewhere.
And I googled it, it turned out to be true, here is an example of the same error:
[Date]
; Defines the default timezone used by the date functions
; php.net/date.timezone
date.timezone = Europe/Madrid"
_ _
Europe/Madrid" instead of "Europe/Madrid"
Win8 has nothing to do with it.
an error in the php.ini file
, but not in this line, but somewhere higher.
reserved words are used incorrectly (true,false,on,off)
check the values that were changed, maybe where Russian letters or the like ..
And yet you have unpaired quotes somewhere above. The error says that "off" is treated not as <opening quotes> off <closing quotes>, but as <closing quotes> bool(false) <opening quotes>.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question