Xampp Access Forbidden php

Try with this code below, add it in your virtual host config. Add this lines to httpd-vhosts.conf file:

<Directory "c:/<path-to-projects>/">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order Deny,Allow
        Allow from all
        Require all granted
</Directory>

I fixed the same issue by this way. Hope it helps.

Note:

after changes please test it in incognito because you redirected by cache

Leave a Comment