Search code examples
sshftpprestashopfile-permissionslamp

Recursive write permissions for Apache user


Hello I am trying to install Prestashop on my LAMP server via SSH but when run the installation process. I got these error.

enter image description here

The Prestashop files are located in /var/www/html What should I do?


Solution

  • Find the Apache user and change the owner of the folders recursively.

    E.g., if the Apache user is apache then:

    chown -R apache:apache /var/www/html/config /var/www/html/cache...