1

I just installed Xampp 5.6.21 (Apache 2.4.18)

I moved the installation from /opt/lampp to /home/peter/project/xampp and created a symlink from /opt/lampp to the new destination.

I can start the server:

$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 5.6.21-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.

If I enter http://localhost/xampp in the browser I get an 403 forbidden error. Does anyone know why?

10
  • Try doing sudo chmod -R 777 /home/peter/project/xampp to set the permission so that everyone can read / write, does that fix it ? Jun 6, 2016 at 11:09
  • 1
    @JonasCz you should also mention that it is not advisable to do this normally, I would rather suggest installing apache and properly setting it up as a LAMP stack.
    – Videonauth
    Jun 6, 2016 at 11:11
  • @JonasCz I did that. It's still forbidden.
    – Rotareti
    Jun 6, 2016 at 11:20
  • @Videonauth I need multiple Apache installations with different config to simulate different production servers, that's why I went with Xampp.
    – Rotareti
    Jun 6, 2016 at 11:20
  • when you set this up did you use a self created server config file or did you use a default one from the install?
    – John Orion
    Jun 6, 2016 at 11:49

1 Answer 1

0

The problem was quite simple to solve. The project dir above the xampp dir had permissions of 700. After changing it to 755 everything worked fine.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .