ErrorException - is_file (): open_basedir restriction in effect

0

I am trying to integrate composer to my project and when I execute the command:

  

composer init

and I get the following error

  

[ErrorException]
  is_file (): open_basedir restriction in effect. File (./ composer.json)   is not within the allowed path (s):   (/ usr / share / webapps /: / etc / webapps /: / tmp: / usr / bin /)

    
asked by Roman González 19.06.2018 в 18:41
source

0 answers