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 6872351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:55:00+00:00 2026-05-27T03:55:00+00:00

Problem I’ve recently started using Linux on one of my laptops. I installed XAMPP

  • 0

Problem

I’ve recently started using Linux on one of my laptops. I installed XAMPP (LAMPP) which I’m very familiar with on the Mac and Window OS in order to develop my WordPress themes etc.

I keep running into annoying permission issues, which I understand is a part of the Linux learning curve. I’m not proficient using terminal commands.

Before doing anything I could not import my any WordPress development files from my other computers without having access permission errors.

Using terminal I changed the permissions in the htdocs folder:

sudo chmod 777 -R /opt/lampp/htdocs

Which solved one problem, seemed like my WP files were recognized, but now I cannot connect to the database I created in phpMyAdmin, using the correct database name, root as the user and nothing for the password, which works fine when I create a WordPress installation from within this laptop.

I only get these issues when importing files into htdocs from a zip or otherwise.

Question

Is there a set of best practices for setting up XAMPP (LAMPP) on a Linux box so that there are no permission issues or other issues that get in the way of using a local installation for WordPress (and other programs).

Thanks!

  • 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-27T03:55:01+00:00Added an answer on May 27, 2026 at 3:55 am

    For best practices refer to the wordpress codex. [1]
    It is not very wise to assign 777 permissions to your files.

    I would usually cd to the directory containing wordpress installation i.e. where wp-content, wp-admin and wp-includes exist. Then run the following commands

    To set permissions for directories

    find . -type d -exec chmod 755 {} \;

    To set permissions for files

    find . -type f -exec chmod 644 {} \;

    [1]. http://codex.wordpress.org/Hardening_WordPress#File_permissions

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

Sidebar

Related Questions

Problem: I have an address field from an Access database which has been converted
Problem: I have two spreadsheets that each serve different purposes but contain one particular
Problem (simplified to make things clearer): 1. there is one statically-linked static.lib that has
Problem: Given a list of strings, find the substring which, if subtracted from the
Problem I have timestamped data, which I need to search based on the timestamp
Problem: I am using Java Tutorials™ sourcecode for this. This is the source code.
Problem: I have to design an algorithm, which does the following for me: Say
Problem Description: We have a service which has applications for main mobile OS’s. We
PROBLEM: Here's the code: import matplotlib.pyplot as plt plt.bar([1,2],[5,4]) plt.title('this is a very long
Problem One: </a> 19-10-2011, 04:49 PM </td> <td class=thread How to fetch the DATE

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.