Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

136
Views
Self hosting apache permissions trouble

I am trying to self host a PHP script called sngine. (facebook clone)

When trying to install it I get an error:

config.php - Required includes folder to be writable for the installation

when I run ls -l I get this: drwxrwxrwx 5 mbeck mbeck 4096 Aug 25 23:00 includes

I don't know why it is saying that it's not writable.

The script is in var/www/{domain name}/ I am on Apache/2.4.41 (Ubuntu) and PHP version: 7.4.22

EDIT: I found someone saying to run chown www-data:www-data <directory> So I did, and permissions now return drwxrwxrwx 5 www-data www-data 4096 Aug 25 23:00 includes and the error is still there.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Ok, I found it!

I had to run sudo chown -R www-data /var/www/example.com/mydomain/includes/

Now it works!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!