ошибка при попытке включить php на Mac OSX Mojave Синтаксическая ошибка в строке 281 из /private/etc/apache2/httpd.conf - PullRequest
0 голосов
/ 16 мая 2019

Я следую этому руководству, чтобы включить php на моем Mac OSX Mojave Как установить Apache, MySQL, PHP на MacOS Mojave 10.14

Это ошибка

Syntax error on line 281 of /private/etc/apache2/httpd.conf:</Directory>

строка 281 - это последняя строка кода в следующем блоке

<Directory "/Users/brandondjuric/Sites/">
Options FollowSymLinks Multiviews
MultiviewsMatch Any
AllowOverride All
Require all granted
</Directory>

здесь - блок большего размера с тем же кодом

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory,     but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot "/Library/WebServer/Documents"
# <Directory "/Library/WebServer/Documents">
DocumentRoot "/Users/brandondjuric/Sites/"
<Directory "/Users/brandondjuric/Sites/">
Options FollowSymLinks Multiviews
MultiviewsMatch Any
AllowOverride All
Require all granted
</Directory>

#
# Possible values for the Options directive are "None", "All" 
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...