Symfony 3 in linux

0

I'm a rookie in synfony and I just installed and this error occurs to me. Has anyone else happened to this? How do I solve it?

    
asked by Juan Pablo Pachar Viñan 09.04.2018 в 20:26
source

2 answers

0

At the root of the project do the following:

  • mkdir var / cache var / logs
  • setfacl -R -m u: www-data: rwx -m u: whoami : rwx var / cache var / logs
  • setfacl -dR -m u: www-data: rwx -m u: whoami : rwx var / cache var / logs
  • php bin / console cache: clear
  • what it does is enable permission to write to the cache

        
    answered by 09.04.2018 в 20:43
    0

    I solved it by inserting the command in the folder of my project

    $ sudo chmod -R 777 var/
    
        
    answered by 10.04.2018 в 01:14