Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4618542
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:16:55+00:00 2026-05-22T02:16:55+00:00

I just installed Xampp on my Arch Linux system. What i want to do

  • 0

I just installed Xampp on my Arch Linux system. What i want to do now:

My PHP working directory is located in my home-folder (at /home/luke/PHP). I want Apache to access those files two, so i followed the Xampp Installation guide on the Arch Linux Wiki and created an Alias for this Directory.
This is what my httpd.conf (the Alias part) looks like:

Alias /PHP /home/luke/PHP
<directory /home/luke/PHP>
    AllowOverride FileInfo Limit Options Indexes
    Order allow,deny
    Allow from all
</directory>

After that, i changed the permissions for the home/luke/PHP-folder to 777 (using chmod). I restarted Xampp and got a 403 when i tried to navigate into http://localhost/PHP

The Apache-Server runs under the http-User (which exists) and the http-Group. So, i added the http-User in my Group (the group luke from my user, using the chown-tool). I restarted the Server, same error.

Here is (a part from) the error_log-file:

[Sun Apr 24 18:05:37 2011] [error] [client 127.0.0.1] (13)Keine Berechtigung: access to /PHP/ denied
[Sun Apr 24 18:10:30 2011] [error] [client 127.0.0.1] (13)Keine Berechtigung: access to /PHP/ denied
[Sun Apr 24 18:10:30 2011] [error] [client 127.0.0.1] (13)Keine Berechtigung: access to /PHP/ denied

So, the Alias I created should work, but what do I need to do to make my /home/luke/PHP-folder accessible to the Apache Server?

I also tried to create a Symlink in the htdocs-folder, but that didn’t work neither.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:16:56+00:00Added an answer on May 22, 2026 at 2:16 am

    I fixed my issue by configuring the Alias like shown above, but setting the Apache’s user to my user (“luke”) and leaving the Group out:

    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User luke
    #Group http
    

    After that I changed the owner of the htdocs– and the PHP-Directory to my user (luke) and restarted LAMPP.

    Now everything works fine. Also thanks to Pascal MARTIN and hornetbzz!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just installed XAMPP beta with PHP 5.3 on Vista, but installed it in
So I've just installed XAMPP today, and I noticed that the index.php had a
I just installed XAMPP on OSX. I can't add folder on the htdocs via
I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql.
I just installed xampp, getting errors all over the place. Want to get rid
I just installed xampp and I brought one of my live sites into it
I have an Apache server installed on my windows machine using XAMPP. Now I'm
I have just installed xampp 1.7.7. I need to know what I need to
I've just installed XAMPP and just wondering what are the benefits of running Apache
Setup: firebirdsql 2.1.3 win32, php 5.3 (installed with xampp) When I try to update

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.