Apache gives Access denied on macOS Catalina

前端 未结 4 897
广开言路
广开言路 2021-02-19 10:39

I have Apache webserver (the one supplied by Apple) running on my Macbook and it ran flawlessly, until I upgraded to Catalina 10.15. I used the same httpd.conf, but now it is di

4条回答
  •  执笔经年
    2021-02-19 11:26

    Mac catalina apache forbidden issue

    Step 1: sudo code /etc/apache2/httpd.conf

    Step 2:search for line #LoadModule php7_module libexec/apache2/libphp7.so and uncomment no need to delete it.

    Step 3: sudo apachectl restart

    Step 4: open Web browsers type localhost

    Step5: Done

提交回复
热议问题