V
V
Vladimir Novitsky2014-01-24 03:20:45
PHP
Vladimir Novitsky, 2014-01-24 03:20:45

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:
screen001.jpg
The following is written in php.ini on the 976th line:
screen002.jpg
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

4 answer(s)
W
Wach Every, 2014-01-24
@Wachevery

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"

A
Alexey Zakharov, 2014-01-24
@Zakhar0v

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 ..

R
Rsa97, 2014-01-24
@Rsa97

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>.

H
hadra, 2014-01-26
@hadra

an error in the php.ini file,
see there)
or don't worry and reinstall everything again

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question