• impossible de se connecter =?UTF-8?B?w6A=?= phpmyadmin

    From MERLIN Philippe@21:1/5 to All on Thu Dec 26 17:50:01 2024
    This is a multi-part message in MIME format.

    Bonjour,
    Voulant examiner une base mysql par phpmyamin j'ai voulu me connecter par Http://
    locahost/phpmyadmin et là je suis arrivé sur un écran blanc.
    En examinant les logs apache2 j'ai les'erreurs suivantes j'ai mis en gras celle qui me parait
    la plus importante
    [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/php/php-gettext/:/usr/
    share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/
    phpseclib/) in /usr/share/phpmyadmin/autoload.php on line 4
    [Thu Dec 26 17:24:49.518246 2024] [php:warn] [pid 7126:tid 7126] [client 127.0.0.1:47330]
    PHP Warning: require_once(/usr/share/php/Composer/CaBundle/autoload.php): Failed to
    open stream: Operation not permitted in /usr/share/phpmyadmin/autoload.php on line 4
    [*Thu Dec 26 17:24:49.518338 2024] [php:error] [pid 7126:tid 7126] [client 127.0.0.1:47330]
    PHP Fatal error: Uncaught Error: Failed opening required '/usr/share/php/Composer/
    CaBundle/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:
    4\nStack trace:\n#0 /usr/share/phpmyadmin/index.php(41): require()\n#1 {main}\n
    thrown in /usr/share/phpmyadmin/autoload.php on line 4*
    j'avoue je ne connais rien à PHP et la façon de déboguer.
    j'aurais besoin d'aide , merci d'avance.
    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;">Bonjour,</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Voulant examiner une base mysql par phpmyamin j'ai voulu me connecter par Http://locahost/phpmyadmin et là je suis arrivé sur un écran blanc.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">En examinant les logs apache2 j'ai les'erreurs suivantes j'ai mis en gras celle qui me parait la plus importante</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] [client 127.0.0.1:47330] PHP Warning:&nbsp; 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/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/)
    in /usr/share/phpmyadmin/autoload.php on line 4</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">[Thu Dec 26 17:24:49.518246 2024] [php:warn] [pid 7126:tid 7126] [client 127.0.0.1:47330] PHP Warning:&nbsp; require_once(/usr/share/php/Composer/CaBundle/autoload.php): Failed to open
    stream: Operation not permitted in /usr/share/phpmyadmin/autoload.php on line 4</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">[<strong>Thu Dec 26 17:24:49.518338 2024] [php:error] [pid 7126:tid 7126] [client 127.0.0.1:47330] PHP Fatal error:&nbsp; Uncaught Error: Failed opening required '/usr/share/php/
    Composer/CaBundle/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4\nStack trace:\n#0 /usr/share/phpmyadmin/index.php(41): require()\n#1 {main}\n&nbsp; thrown in /usr/share/phpmyadmin/autoload.php on line 4</strong></p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">j'avoue je ne connais rien à PHP et la façon de déboguer.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">j'aurais besoin d'aide , merci d'avance.</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)
  • From =?UTF-8?Q?S=C3=A9bastien_NOBILI?=@21:1/5 to All on Fri Dec 27 09:40:01 2024
    Bonjour,

    Le 2024-12-26 17:44, MERLIN Philippe a écrit :
    [client 127.0.0.1:47330] PHP Fatal error: Uncaught Error: Failed
    opening required '/usr/share/php/Composer/CaBundle/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4\nStack
    trace:\n#0 /usr/share/phpmyadmin/index.php(41): require()\n#1 {main}\n
    thrown in /usr/share/phpmyadmin/autoload.php on line 4

    Il cherche à inclure le fichier "/usr/share/php/Composer/CaBundle/autoload.php"
    et ne le trouve pas.

    Ce fichier fait partie du paquet php-composer-ca-bundle

    Tu peux trouver cette information en cherchant "autoload.php" dans le
    contenu
    des paquets sur https://packages.debian.org.

    Pour corriger ton problème : apt install php-composer-ca-bundle

    Sébastien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?S=C3=A9bastien_NOBILI?=@21:1/5 to All on Fri Dec 27 11:40:02 2024
    Le 2024-12-27 11:14, MERLIN Philippe a écrit :
    Merci Sébastien le fichier
    "/usr/share/php/Composer/CaBundle/autoload.php" est bien installé il
    date du 15/11/2024 j'ai regardé les permissions user root lecture,modification groupe et other lecture seul par contre n'est pas exécutable je ne sais pas si c'est important

    Non, il n'a pas à être exécutable puisqu'il est simplement inclus (lu)
    par
    le code PHP de phpmyadmin.

    Au niveau des permissions, est-ce que tu es capable (en tant que simple utilisateur) de lire le fichier (avec less par exemple).

    Sébastien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MERLIN Philippe@21:1/5 to All on Fri Dec 27 12:10:01 2024
    This is a multi-part message in MIME format.

    Le vendredi 27 décembre 2024, 11:32:25 UTC+1 Sébastien NOBILI a écrit :
    Le 2024-12-27 11:14, MERLIN Philippe a écrit :
    Merci Sébastien le fichier
    "/usr/share/php/Composer/CaBundle/autoload.php" est bien installé il
    date du 15/11/2024 j'ai regardé les permissions user root lecture,modification groupe et other lecture seul par contre n'est pas exécutable je ne sais pas si c'est important

    Non, il n'a pas à être exécutable puisqu'il est simplement inclus (lu)
    par
    le code PHP de phpmyadmin.

    Au niveau des permissions, est-ce que tu es capable (en tant que simple utilisateur) de lire le fichier (avec less par exemple).

    Sébastien
    Je réponds OUI sans problème .
    Merci.
    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, 11:32:25 UTC+1 Sébastien NOBILI a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Le 2024-12-27 11:14, MERLIN Philippe a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Merci Sébastien le fichier</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &quot;/usr/share/php/Composer/CaBundle/autoload.php&quot; est bien installé il</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; date du 15/11/2024 j'ai regardé les permissions user root</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; lecture,modification groupe et other lecture seul par contre n'est pas</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; exécutable je ne sais pas si c'est important</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Non, il n'a pas à être exécutable puisqu'il est simplement inclus (lu)</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; par</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; le code PHP de phpmyadmin.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Au niveau des permissions, est-ce que tu es capable (en tant que simple</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; utilisateur) de lire le fichier (avec less par exemple).</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Sébastien</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;">Merci.</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)
  • From MERLIN Philippe@21:1/5 to All on Fri Dec 27 11:20:01 2024
    This is a multi-part message in MIME format.

    Le vendredi 27 décembre 2024, 09:33:36 UTC+1 Sébastien NOBILI a écrit :
    Bonjour,

    Le 2024-12-26 17:44, MERLIN Philippe a écrit :
    [client 127.0.0.1:47330] PHP Fatal error: Uncaught Error: Failed
    opening required '/usr/share/php/Composer/CaBundle/autoload.php' (include_path='.') in /usr/share/phpmyadmin/autoload.php:4\nStack trace:\n#0 /usr/share/phpmyadmin/index.php(41): require()\n#1 {main}\n

    thrown in /usr/share/phpmyadmin/autoload.php on line 4

    Il cherche à inclure le fichier "/usr/share/php/Composer/CaBundle/autoload.php"
    et ne le trouve pas.

    Ce fichier fait partie du paquet php-composer-ca-bundle

    Tu peux trouver cette information en cherchant "autoload.php" dans le
    contenu
    des paquets sur https://packages.debian.org.

    Pour corriger ton problème : apt install php-composer-ca-bundle

    Sébastien
    Merci Sébastien le fichier "/usr/share/php/Composer/CaBundle/autoload.php" est bien
    installé il date du 15/11/2024 j'ai regardé les permissions user root lecture,modification
    groupe et other lecture seul par contre n'est pas exécutable je ne sais pas si c'est
    important
    le paquet php-composer-ca-bundle est bien installé version 1.5.3-1
    Merci.
    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, 09:33:36 UTC+1 Sébastien NOBILI a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Bonjour,</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; 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;">&gt; &gt; [client 127.0.0.1:47330] PHP Fatal error:&nbsp; Uncaught Error: Failed</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; opening required '/usr/share/php/Composer/CaBundle/autoload.php'</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; (include_path='.') in /usr/share/phpmyadmin/autoload.php:4\nStack</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; trace:\n#0 /usr/share/phpmyadmin/index.php(41): require()\n#1 {main}\n</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt;&nbsp; thrown in /usr/share/phpmyadmin/autoload.php on line 4</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Il cherche à inclure le fichier</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &quot;/usr/share/php/Composer/CaBundle/autoload.php&quot;</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; et ne le trouve pas.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Ce fichier fait partie du paquet php-composer-ca-bundle</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Tu peux trouver cette information en cherchant &quot;autoload.php&quot; dans le</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; contenu</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; des paquets sur https://packages.debian.org.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Pour corriger ton problème : apt install php-composer-ca-bundle</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Sébastien</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Merci Sébastien le fichier &quot;/usr/share/php/Composer/CaBundle/autoload.php&quot; est bien installé il date du 15/11/2024 j'ai regardé les permissions user root&nbsp; lecture,
    modification groupe et other lecture seul par contre n'est pas exécutable je ne sais pas si c'est important</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">le paquet php-composer-ca-bundle est bien installé version 1.5.3-1</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Merci.</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)
  • From =?UTF-8?Q?S=C3=A9bastien_NOBILI?=@21:1/5 to All on Fri Dec 27 15:40:01 2024
    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/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MERLIN Philippe@21:1/5 to All on Fri Dec 27 16:10:01 2024
    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;">&gt; 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;">&gt; &gt; 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;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt;&gt; 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;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; simple</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt;&gt; utilisateur) de lire le fichier (avec less par exemple).</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Je réponds OUI sans problème .</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; 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;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; 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;">&gt; &gt; [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;">&gt; &gt; [client 127.0.0.1:47330] PHP Warning:&nbsp; require_once(): open_basedir</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; restriction in effect.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; 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;">&gt; &gt; allowed path(s):</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; (/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;">&gt; &gt; 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;">&gt; &gt; c/phpmyadmin/:/usr/share/php/phpseclib/) in</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; /usr/share/phpmyadmin/autoload.php on line 4</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; 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;">&gt; lesquels</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; PHP s'autorisera à charger du code et le dossier</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; /usr/share/php/Composer/CaBundle/</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; n'est pas dans la liste.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Que donne la commande suivante ?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; php -r 'phpinfo();' | grep open_basedir</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; 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;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; open_basedir =&gt; no value =&gt; no value</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Tu devrais avoir la même chose.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; 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 =&gt; no value =&gt; 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)
  • From =?UTF-8?Q?S=C3=A9bastien_NOBILI?=@21:1/5 to All on Fri Dec 27 16:30:01 2024
    Le 2024-12-27 16:06, MERLIN Philippe a écrit :
    pour moi c'est la même réponse :

    php -r 'phpinfo();' | grep open_basedir
    open_basedir => no value => no value

    Il y a peut-être une différence de conf. entre
    le PHP en ligne de commande et celui de ton serveur
    Web.

    Pour le savoir, il faudrait créer un fichier
    /usr/share/phpmyadmin/phpinfo.php (en tant que root, donc)
    avec comme contenu :

    <?php
    phpinfo();

    Ensuite en chargeant http://localhost/phpmyadmin/phpinfo.php
    tu devrais récupérer la page phpinfo générée par ton serveur
    Web.

    Que vois-tu en face de open_basedir ?

    Sébastien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MERLIN Philippe@21:1/5 to All on Fri Dec 27 17:00:01 2024
    This is a multi-part message in MIME format.

    Le vendredi 27 décembre 2024, 16:22:48 UTC+1 Sébastien NOBILI a écrit :
    Le 2024-12-27 16:06, MERLIN Philippe a écrit :
    pour moi c'est la même réponse :

    php -r 'phpinfo();' | grep open_basedir
    open_basedir => no value => no value

    Il y a peut-être une différence de conf. entre
    le PHP en ligne de commande et celui de ton serveur
    Web.

    Pour le savoir, il faudrait créer un fichier /usr/share/phpmyadmin/phpinfo.php (en tant que root, donc)
    avec comme contenu :

    <?php
    phpinfo();

    Ensuite en chargeant http://localhost/phpmyadmin/phpinfo.php
    tu devrais récupérer la page phpinfo générée par ton serveur
    Web.

    Que vois-tu en face de open_basedir ?

    Sébastien
    voilà la réponse, si tu veux je peux t'envoyer personnellement une copie d'écran.
    /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-
    gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/
    share/php/phpseclib/
    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, 16:22:48 UTC+1 Sébastien NOBILI a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Le 2024-12-27 16:06, MERLIN Philippe a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; pour moi c'est la même réponse :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; php -r 'phpinfo();' | grep open_basedir</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; open_basedir =&gt; no value =&gt; no value</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Il y a peut-être une différence de conf. entre</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; le PHP en ligne de commande et celui de ton serveur</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Web.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Pour le savoir, il faudrait créer un fichier</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; /usr/share/phpmyadmin/phpinfo.php (en tant que root, donc)</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; avec comme contenu :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &lt;?php</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; phpinfo();</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Ensuite en chargeant http://localhost/phpmyadmin/phpinfo.php</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; tu devrais récupérer la page phpinfo générée par ton serveur</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Web.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Que vois-tu en face de open_basedir ?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Sébastien</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">voilà la réponse, si tu veux je peux t'envoyer personnellement une copie d'écran.</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/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/
    phpseclib/</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)
  • From =?UTF-8?Q?S=C3=A9bastien_NOBILI?=@21:1/5 to All on Fri Dec 27 18:00:01 2024
    Le 2024-12-27 16:56, MERLIN Philippe a écrit :
    voilà la réponse, si tu veux je peux t'envoyer personnellement une
    copie d'écran.

    Pas nécessaire, je te crois :)
    Et puis c'est très logique.

    /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/

    Dans un sous-dossier de /etc/php/8.2 (je suppose que tu es en stable)
    tu trouveras un php.ini qui définit ça. Il faut réinitialiser cette
    valeur.
    Tu peux t'inspirer de /etc/php/8.2/cli/php.ini qui, lui, ne contient pas
    cette conf.

    Sébastien

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MERLIN Philippe@21:1/5 to All on Fri Dec 27 18:50:01 2024
    This is a multi-part message in MIME format.

    Le vendredi 27 décembre 2024, 17:53:52 UTC+1 Sébastien NOBILI a écrit :
    Le 2024-12-27 16:56, MERLIN Philippe a écrit :
    voilà la réponse, si tu veux je peux t'envoyer personnellement une
    copie d'écran.

    Pas nécessaire, je te crois :)
    Et puis c'est très logique.

    /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/ph p/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc /phpmyadmin/:/usr/share/php/phpseclib/
    Dans un sous-dossier de /etc/php/8.2 (je suppose que tu es en stable)
    tu trouveras un php.ini qui définit ça. Il faut réinitialiser cette valeur.
    Tu peux t'inspirer de /etc/php/8.2/cli/php.ini qui, lui, ne contient pas cette conf.

    Sébastien
    Je ne comprends pas ce que tu veux dire.
    Tout d'abord je suis en SID la version est php8.4
    sous /etc/php/8.4 il y a 3 dossiers apache2, cli, mods-available
    dans les deux premiers dossiers il y a un php.ini
    Que dois je faire ?
    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, 17:53:52 UTC+1 Sébastien NOBILI a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Le 2024-12-27 16:56, MERLIN Philippe a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; voilà la réponse, si tu veux je peux t'envoyer personnellement une</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; copie d'écran.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Pas nécessaire, je te crois :)</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Et puis c'est très logique.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/ph</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; p/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; /phpmyadmin/:/usr/share/php/phpseclib/</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Dans un sous-dossier de /etc/php/8.2 (je suppose que tu es en stable)</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; tu trouveras un php.ini qui définit ça. Il faut réinitialiser cette</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; valeur.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Tu peux t'inspirer de /etc/php/8.2/cli/php.ini qui, lui, ne contient pas</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; cette conf.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Sébastien</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Je ne comprends pas ce que tu veux dire.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Tout d'abord je suis en SID la version est php8.4</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">sous /etc/php/8.4 il y a 3 dossiers apache2, cli, mods-available</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">dans les deux premiers dossiers il y a un php.ini</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Que dois je faire ?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Philippe MERLIN</p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MERLIN Philippe@21:1/5 to All on Sat Dec 28 14:30:02 2024
    This is a multi-part message in MIME format.

    Le vendredi 27 décembre 2024, 18:40:12 UTC+1 MERLIN Philippe a écrit :
    Le vendredi 27 décembre 2024, 17:53:52 UTC+1 Sébastien NOBILI a écrit :
    Le 2024-12-27 16:56, MERLIN Philippe a écrit :
    voilà la réponse, si tu veux je peux t'envoyer personnellement une copie d'écran.

    Pas nécessaire, je te crois :)
    Et puis c'est très logique.

    /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/ ph p/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/d oc
    /phpmyadmin/:/usr/share/php/phpseclib/

    Dans un sous-dossier de /etc/php/8.2 (je suppose que tu es en stable)
    tu trouveras un php.ini qui définit ça. Il faut réinitialiser cette valeur.
    Tu peux t'inspirer de /etc/php/8.2/cli/php.ini qui, lui, ne contient pas cette conf.

    Sébastien

    Je ne comprends pas ce que tu veux dire.
    Tout d'abord je suis en SID la version est php8.4
    sous /etc/php/8.4 il y a 3 dossiers apache2, cli, mods-available
    dans les deux premiers dossiers il y a un php.ini
    Que dois je faire ?
    Philippe MERLIN
    J'ai approfondi la question et examiné les deux php.ini qui se trouvent dans les sous
    répertoires apache2 et cli tous les deux ont la variable open_basedir non opérationnelles
    un ; se trouve devant ces variables.
    Je ne comprends pas pourquoi elle se trouve renseigné avec les valeurs /usr/share/p ........
    qu'indique phpinfo.
    Amitiés.
    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, 18:40:12 UTC+1 MERLIN Philippe a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Le vendredi 27 décembre 2024, 17:53:52 UTC+1 Sébastien NOBILI a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Le 2024-12-27 16:56, MERLIN Philippe a écrit :</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; voilà la réponse, si tu veux je peux t'envoyer personnellement une</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; copie d'écran.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Pas nécessaire, je te crois :)</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Et puis c'est très logique.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; ph</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; p/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/d</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; oc</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; &gt; /phpmyadmin/:/usr/share/php/phpseclib/</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Dans un sous-dossier de /etc/php/8.2 (je suppose que tu es en stable)</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; tu trouveras un php.ini qui définit ça. Il faut réinitialiser cette</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; valeur.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Tu peux t'inspirer de /etc/php/8.2/cli/php.ini qui, lui, ne contient pas</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; cette conf.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; Sébastien</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Je ne comprends pas ce que tu veux dire.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Tout d'abord je suis en SID la version est php8.4</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; sous /etc/php/8.4 il y a 3 dossiers apache2, cli, mods-available</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; dans les deux premiers dossiers il y a un php.ini</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Que dois je faire ?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Philippe MERLIN</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">J'ai approfondi la question et examiné les deux php.ini qui se trouvent dans les sous répertoires apache2 et cli tous les deux ont la variable open_basedir non opérationnelles un ;
    se trouve devant ces variables.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Je ne comprends pas pourquoi elle se trouve renseigné avec les valeurs&nbsp; /usr/share/p ........ qu'indique phpinfo.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Amitiés.</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)