This is a multi-part message in MIME format.
Le vendredi 27 décembre 2024, 15:31:36 UTC+1 Sébastien NOBILI a écrit :
Le 2024-12-27 12:06, MERLIN Philippe a écrit :
Le vendredi 27 décembre 2024, 11:32:25 UTC+1 Sébastien NOBILI a
écrit :
Au niveau des permissions, est-ce que tu es capable (en tant que
simple
utilisateur) de lire le fichier (avec less par exemple).
Je réponds OUI sans problème .
Pardon, j'avais mal lu le message d'erreur initial :
Le 2024-12-26 17:44, MERLIN Philippe a écrit :
[Thu Dec 26 17:24:49.518163 2024] [php:warn] [pid 7126:tid 7126]
[client 127.0.0.1:47330] PHP Warning: require_once(): open_basedir restriction in effect.
File(/usr/share/php/Composer/CaBundle/autoload.php) is not within the allowed path(s): (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/p hp/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/do c/phpmyadmin/:/usr/share/php/phpseclib/) in /usr/share/phpmyadmin/autoload.php on line 4
Tu as une restriction sur ton système qui limite les chemins depuis
lesquels
PHP s'autorisera à charger du code et le dossier /usr/share/php/Composer/CaBundle/
n'est pas dans la liste.
Que donne la commande suivante ?
php -r 'phpinfo();' | grep open_basedir
Chez moi, sans rien avoir touché elle répond ça :
open_basedir => no value => no value
Tu devrais avoir la même chose.
Sébastien
pour moi c'est la même réponse :
php -r 'phpinfo();' | grep open_basedir
open_basedir => no value => no value
Encore merci d'essayer d'élucider ce problème.
Pour moi je n'y connais rien en php.
Philippe Merlin
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Le vendredi 27 décembre 2024, 15:31:36 UTC+1 Sébastien NOBILI a écrit :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Le 2024-12-27 12:06, MERLIN Philippe a écrit :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Le vendredi 27 décembre 2024, 11:32:25 UTC+1 Sébastien NOBILI a</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > écrit :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> >> Au niveau des permissions, est-ce que tu es capable (en tant que</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > simple</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> >> utilisateur) de lire le fichier (avec less par exemple).</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Je réponds OUI sans problème .</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Pardon, j'avais mal lu le message d'erreur initial :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Le 2024-12-26 17:44, MERLIN Philippe a écrit :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > [Thu Dec 26 17:24:49.518163 2024] [php:warn] [pid 7126:tid 7126]</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > [client 127.0.0.1:47330] PHP Warning: require_once(): open_basedir</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > restriction in effect.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > File(/usr/share/php/Composer/CaBundle/autoload.php) is not within the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > allowed path(s):</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/p</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > hp/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/do</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > c/phpmyadmin/:/usr/share/php/phpseclib/) in</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > /usr/share/phpmyadmin/autoload.php on line 4</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Tu as une restriction sur ton système qui limite les chemins depuis</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> lesquels</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> PHP s'autorisera à charger du code et le dossier</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> /usr/share/php/Composer/CaBundle/</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> n'est pas dans la liste.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Que donne la commande suivante ?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> php -r 'phpinfo();' | grep open_basedir</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Chez moi, sans rien avoir touché elle répond ça :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> open_basedir => no value => no value</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Tu devrais avoir la même chose.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Sébastien</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">pour moi c'est la même réponse :</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="color:#000000;"><span style="background-color:#ffffff;"><span style="font-family:monospace;">php -r 'phpinfo();' | grep open_basedir </span></span></span><br /><span style=
"color:#000000;"><span style="background-color:#ffffff;">open_basedir => no value => no value</span></span><br /><br />Encore merci d'essayer d'élucider ce problème.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Pour moi je n'y connais rien en php.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Philippe Merlin</p>
<br /></body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)