console symfony php open_basedir restriction in effect.
Bonjour,
Je suis en train d'apprendre à me servir de symfony2 or je n'arrive pas à lancer l'éxecutable console.
Lorque j'entre cette commande :
Code:
php Symfony/app/console
L'erreur suivante se produit
Citation:
PHP Warning: require_once(): open_basedir restriction in effect. File(/opt/lampp/htdocs/Symfony/app/bootstrap.php.cache) is not within
PHP Warning: require_once(/opt/lampp/htdocs/Symfony/app/bootstrap.php.cache): failed to open stream: Operation not permitted in /opt/la
PHP Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs/Symfony/app/bootstrap.php.cache' (include_path='.:/usr/shar
J'ai donc modifié le php.ini se situant dans /opt/lampp/etc. J'ai setté open_basedir comme suit
open_basedir = "/opt/lampp/htdocs/Symfony/app:/opt/lampp/htdocs/Symfony/:/opt/lampp/htdocs/Symfony/app/bootstrap.php.cache"
Et j'obtiens toujours la même erreur.
En vous remerciant d'avance de votre aide.