- OS Host: Mac OS Mojave
- PHP: 7.1.23
I am trying to set up my local server on a new Mac. I have been following the following instructions on https://discussions.apple.com/docs/DOC-13841.
After enabling PHP, perl and personal websites, I check the configuration with apachectl configtest and the terminal returns the following:
httpd: Syntax error on line 511 of /private/etc/apache2/httpd.conf: Syntax error on line 16 of /private/etc/apache2/extra/httpd-userdir.conf: No matches for the wildcard '*.conf' in '/private/etc/apache2/users', failing (use IncludeOptional if required)
However, I am expecting syntax OK. What should I do to fix this?