Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

137
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda