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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:23:28+00:00 2026-06-04T23:23:28+00:00

Currently installed the LAMP stack using tasksel but I’ve run into a problem. The

  • 0

Currently installed the LAMP stack using tasksel but I’ve run into a problem. The location where the website folder is located is not easily writable. It’s a pain in the keister to do anything.

/var/www

Since I’m new to LAMP on Linux, maybe I’m doing things incorrectly. This is for my dev machine ONLY – not production.

What is the workflow if I want to develop a PHP application and run it locally on Apache? I can’t even edit files on the default path, because of permissions from Linux.

Any suggestions? Maybe I can create a folder on my Home directory and tell Apache to use that instead?

What do the regular’s do?

  • 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-06-04T23:23:31+00:00Added an answer on June 4, 2026 at 11:23 pm

    For me the “nicest” way to do this is to change the value of DocumentRoot inside Apache to a directory that is writable by you, or to create an alias:

    open conf file (or default site), in debian/ubuntu this is located, in /etc/apache2/sites-enabled/000-default and edit DocumentRoot and other references to that directory (/var/www):

    DocumentRoot /home/user/Projects
    <Directory /home/user/Projects>
    

    After that restart apache (sudo services apache2 restart) and then you will get it working in a writable place by you. There is only one inconvenience with this: You will have to add apache to your user group in order to give apache write permissions for uploading/creating files.

    Hope this helps!
    Gonzalo G.

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

Sidebar

Related Questions

Currently I am using xCode 3.2.5 and I have already installed cocos2d template cocos2d
I currently have the gcc4.7 and the gcc4.7-base, etc., packages installed but GCC seems
i am currently using php as backend language in webdevelopment. but im wondering what
I currently installed gtk2 through macport on os x 10.6 but when i tried
I have a Linode (Ubuntu 9.10, but upgrading not a problem) where I run
I have a VPS with Liquidweb, which currently uses a standard LAMP stack. I
I have currently installed SQL server without the management studio but now I want
I have a web application that configured to run using IIS , but I
Is there a way to check if some gem is currently installed, via the
I successfully got the application icons of the currently installed applications with the following

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.