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 /)