file_exists() : erreur liée à open_basedir
bonsoir a tous,
j'utilise file_exists() comme suite:
Code:
1 2 3
|
....
file_exists("/etc/asterisk/a2billing.conf"); |
Mais je recois le message d'erreur suivant dans mon explorateur web
Citation:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/etc/asterisk/a2billing.conf) is not within the allowed path(s): (/var/www/vhosts/evolutionci.com/httpdocs:/tmp) in /var/www/vhosts/evolutionci.com/httpdocs/A2Billing_UI/lib/Class.A2Billing.php on line 221
j'ai fait
chmod 777 /etc/asterisk
pour mon script puisse manipuler le fichier mais j'ai la meme erreur.
Merci de m'aider.
cordialement.