Xampp - Ubuntu - cant access my project in lampp/htdocs

后端 未结 5 1818

I have installed xampp to Ubuntu 12.04. I have put my project in the folder /opt/lampp/htdocs/project_is_here

When I type in the browser localhost/soap/php

5条回答
  •  既然无缘
    2021-01-30 18:45

    i've experinced the same problem and this is my solution :


    1.in the terminal

    cd /opt/lampp/etc/
    
    1. if you have sublime text installed simply just type :

    subl httpd.conf

    3.when the configuration file opened in sublime you have to check if these three blocks are as follow :

    
        AllowOverride All
        Require all granted
    
    

    ================================

    
     Options Indexes FollowSymLinks ExecCGI Includes
     AllowOverride All
     Require all granted
    
    

    ================================

    User your username
    Group your group name
    

    for example :

    my username is mhmd also my group name is mhmd

    User mhmd
    Group mhmd
    

    and i hope it will help you ..

提交回复
热议问题