240 发简信
IP属地:重庆
  • 修改完如下,重启依然报错403 Forbidden,You don't have permission to access/on this server
    <Directory />
    Options Indexes FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all
    </Directory>
    DocumentRoot "/Users/ouyangxiong/Documents/PHP-Apache"
    <Directory "/Users/ouyangxiong/Documents/PHP-Apache">
    Options FollowSymLinks MultiViews
    MultiviewsMatch Any
    AllowOverride All
    Require all granted
    </Directory>

    Mac下的PHP的配置与运行(大概是完整的吧...)

    Mac OS X系统都自带了Apache和PHP环境,只是默认情况下没有开启。 我个人设备环境如下: PHP版本:7.1.16 Apache版本:2.4.33 (Unix) ...