• Re: Debian 11 PHP 7.4 =?UTF-8?B?4oCT?= Mysql 8 - =?UTF-8?B?Q2Fu?= =?UTF

    From Marco Moock@21:1/5 to All on Sun Mar 24 20:10:01 2024
    Am Sun, 24 Mar 2024 19:51:05 +0100
    schrieb Bernard <bdebreil@free.fr>:

    '//usr/lib/php/20190902/mysqli.so'

    Is that really the path in the message?
    The 2 // must not be there.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bernard@21:1/5 to Marco Moock on Tue Mar 26 10:40:02 2024
    On 24/03/2024 20:02, Marco Moock wrote:
    Am Sun, 24 Mar 2024 19:51:05 +0100
    schrieb Bernard <bdebreil@free.fr>:

    '//usr/lib/php/20190902/mysqli.so'
    Is that really the path in the message?
    The 2 // must not be there.

    I have the two // in the displayed error messages. However the file is
    where it should be, without double //

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bernard@21:1/5 to Jeffrey Walton on Tue Mar 26 10:40:01 2024
    This is a multi-part message in MIME format.
    ls -Al /usr/lib/php/20190902
    total 7732
    -rw-r--r-- 1 root root   34920  9 juin   2023 calendar.so
    -rw-r--r-- 1 root root   14440  9 juin   2023 ctype.so
    -rw-r--r-- 1 root root   92264  9 juin   2023 exif.so
    -rw-r--r-- 1 root root  161896  9 juin   2023 ffi.so
    -rw-r--r-- 1 root root 5744752  9 juin   2023 fileinfo.so
    -rw-r--r-- 1 root root   67688  9 juin   2023 ftp.so
    -rw-r--r-- 1 root root   14440  9 juin   2023 gettext.so
    -rw-r--r-- 1 root root   51304  9 juin   2023 iconv.so
    -rw-r--r-- 1 root root   47208  9 juin   2023 json.so
    -rw-r--r-- 1 root root  145512  9 juin   2023 mysqli.so
    -rw-r--r-- 1 root root  255832  9 juin   2023 mysqlnd.so
    -rw-r--r-- 1 root root  551440  9 juin   2023 opcache.so
    -rw-r--r-- 1 root root   34920  9 juin   2023 pdo_mysql.so
    -rw-r--r-- 1 root root  112744  9 juin   2023 pdo.so
    -rw-r--r-- 1 root root  280680  9 juin   2023 phar.so
    -rw-r--r-- 1 root root   39016  9 juin   2023 posix.so
    -rw-r--r-- 1 root root   34920  9 juin   2023 readline.so
    -rw-r--r-- 1 root root   14440  9 juin   2023 shmop.so
    -rw-r--r-- 1 root root   96360  9 juin   2023 sockets.so
    -rw-r--r-- 1 root root   22632  9 juin   2023 sysvmsg.so
    -rw-r--r-- 1 root root   14440  9 juin   2023 sysvsem.so
    -rw-r--r-- 1 root root   14440  9 juin   2023 sysvshm.so
    -rw-r--r-- 1 root root   26728  9 juin   2023 tokenizer.so

    On 24/03/2024 23:04, Jeffrey Walton wrote:
    ls -Al
    /usr/lib/php/20190902
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p><font size="4">ls -Al /usr/lib/php/20190902<br>
    total 7732<br>
    -rw-r--r-- 1 root root   34920  9 juin   2023 calendar.so<br>
    -rw-r--r-- 1 root root   14440  9 juin   2023 ctype.so<br>
    -rw-r--r-- 1 root root   92264  9 juin   2023 exif.so<br>
    -rw-r--r-- 1 root root  161896  9 juin   2023 ffi.so<br>
    -rw-r--r-- 1 root root 5744752  9 juin   2023 fileinfo.so<br>
    -rw-r--r-- 1 root root   67688  9 juin   2023 ftp.so<br>
    -rw-r--r-- 1 root root   14440  9 juin   2023 gettext.so<br>
    -rw-r--r-- 1 root root   51304  9 juin   2023 iconv.so<br>
    -rw-r--r-- 1 root root   47208  9 juin   2023 json.so<br>
    -rw-r--r-- 1 root root  145512  9 juin   2023 mysqli.so<br>
    -rw-r--r-- 1 root root  255832  9 juin   2023 mysqlnd.so<br>
    -rw-r--r-- 1 root root  551440  9 juin   2023 opcache.so<br>
    -rw-r--r-- 1 root root   34920  9 juin   2023 pdo_mysql.so<br>
    -rw-r--r-- 1 root root  112744  9 juin   2023 pdo.so<br>
    -rw-r--r-- 1 root root  280680  9 juin   2023 phar.so<br>
    -rw-r--r-- 1 root root   39016  9 juin   2023 posix.so<br>
    -rw-r--r-- 1 root root   34920  9 juin   2023 readline.so<br>
    -rw-r--r-- 1 root root   14440  9 juin   2023 shmop.so<br>
    -rw-r--r-- 1 root root   96360  9 juin   2023 sockets.so<br>
    -rw-r--r-- 1 root root   22632  9 juin   2023 sysvmsg.so<br>
    -rw-r--r-- 1 root root   14440  9 juin   2023 sysvsem.so<br>
    -rw-r--r-- 1 root root   14440  9 juin   2023 sysvshm.so<br>
    -rw-r--r-- 1 root root   26728  9 juin   2023 tokenizer.so</font><br>
    </p>
    <div class="moz-cite-prefix">On 24/03/2024 23:04, Jeffrey Walton
    wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAH8yC8=vc2zO5BEN9D6_r9=4oMZhD6PqYVfbrmSABfKp3fumUw@mail.gmail.com">
    <pre>ls -Al
    /usr/lib/php/20190902</pre>
    </blockquote>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bernard@21:1/5 to Bernard on Tue Mar 26 11:10:01 2024
    This is a multi-part message in MIME format.
    I have progressed a little in my trials.

    mysqli.so still shows the previously described problems, and I thought
    that this was responsible of the fact that mysqli functions were
    apparently discarded in the test programs I wrote.

    I discovered that this was due to errors I made in the php program. The
    errors in the script being corrected, mysqli_connect, mysqli_select_db, mysqli_query... now do operate... despite the errors concerning
    mysqli.so that I discovered when running the tests which are proposed by 'baeldung.com'

    "

    |$ php -m | grep mysqli|

    "If the MySQLi extension is enabled, we’ll see /mysqli/ in the output. Otherwise, the output will be empty."

    php -m grep mysqli

    PHP Warning:  PHP Startup: Unable to load dynamic library '//usr/lib/php/20190902/mysqli.so' (tried:
    //usr/lib/php/20190902/mysqli.so (//usr/lib/php/20190902/mysqli.so:
    undefined symbol: mysqlnd_global_stats), /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open
    shared object file: No such file or directory)) in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli'
    (tried: /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli:
    cannot open shared object file: No such file or directory), /usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so:
    undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
    mysqli

    "

    On 24/03/2024 19:51, Bernard wrote:

    Hi to Everyone !

    *PHP Warning: PHP Startup: Unable to load dynamic library '//usr/lib/php/20190902/mysqli.so' * *However, the file is there...
    not human readable as expected* *and mysqli_connect doesn't operate.*

    *Thanks in advance for your help*
    *Bernard*

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>I have progressed a little in my trials. </p>
    <p>mysqli.so still shows the previously described problems, and I
    thought that this was responsible of the fact that mysqli
    functions were apparently discarded in the test programs I wrote.</p>
    <p>I discovered that this was due to errors I made in the php
    program. The errors in the script being corrected, mysqli_connect,
    mysqli_select_db, mysqli_query... now do operate... despite the
    errors concerning mysqli.so that I discovered when running the
    tests which are proposed by 'baeldung.com'</p>
    <p>"<br>
    </p>
    <pre class="hljs-copy-wrapper"
    style="--hljs-theme-background: rgb(250, 250, 250);"><code
    class="language-bash hljs">$ php -m | grep mysqli</code></pre>
    <p>"If the MySQLi extension is enabled, we’ll see <em>mysqli</em>
    in the output. Otherwise, the output will be empty."</p>
    <p>php -m grep mysqli <br>
    </p>
    <p>PHP Warning:  PHP Startup: Unable to load dynamic library
    '//usr/lib/php/20190902/mysqli.so' (tried:
    //usr/lib/php/20190902/mysqli.so
    (//usr/lib/php/20190902/mysqli.so: undefined symbol:
    mysqlnd_global_stats),
    /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so
    (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot
    open shared object file: No such file or directory)) in Unknown on
    line 0<br>
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli'
    (tried: /usr/lib/php/20190902/mysqli
    (/usr/lib/php/20190902/mysqli: cannot open shared object file: No
    such file or directory), /usr/lib/php/20190902/mysqli.so
    (/usr/lib/php/20190902/mysqli.so: undefined symbol:
    mysqlnd_global_stats)) in Unknown on line 0<br>
    mysqli<br>
    </p>
    <p>"<br>
    </p>
    <div class="moz-cite-prefix">On 24/03/2024 19:51, Bernard wrote:<br>
    </div>
    <blockquote type="cite"
    cite="mid:998cadfb-688a-44b9-9734-1e15363eb1cd@free.fr">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <style type="text/css">pre { font-family: "Liberation Mono", monospace; font-size: 10pt; background: transparent }p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }strong { font-weight: bold }a:link { color: #000080; so-
    language: zxx; text-decoration: underline }</style>
    <p style="margin-bottom: 0.5cm"> <font style="font-size: 14pt"
    size="4">Hi to Everyone !</font></p>
    <p><strong><span style="font-weight: normal">PHP Warning: PHP
    Startup: Unable to load dynamic library
    '//usr/lib/php/20190902/mysqli.so' </span></strong> <strong><span
    style="font-weight: normal">However, the file is there...
    not human readable as expected</span></strong> <strong><span
    style="font-weight: normal">and mysqli_connect doesn't
    operate.</span></strong></p>
    <p> </p>
    <pre style="margin-bottom: 0.5cm"><strong><span
    style="font-weight: normal">Thanks in advance for your help</span></strong>
    <strong><span style="font-weight: normal">Bernard</span></strong></pre>
    <br>
    </blockquote>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Tue Mar 26 15:10:01 2024
    Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard:

    I have the two // in the displayed error messages. However the file
    is where it should be, without double //

    The this seems to be a bug because if it searches for //file it will
    definitely not find it.
    Can you use strace to verify that?

    --
    Gruß
    Marco

    Send unsolicited bulk mail to 1711445639muell@cartoonies.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bernard@21:1/5 to Bernard on Thu Mar 28 10:40:01 2024
    This is a multi-part message in MIME format.
    Yes, this list (exactly the same here) shows that mysqli.so is loaded.
    In any case, as said before, this function does operate as I have checked.

    But I've found more problems, concerning $_REQUEST, $_GET...

    The old way that I used 11 yrs ago no longer works :

    $nom = S_GET [‘nom’] ;

    no longer operates with php 7.4. This code is simply ignored. S_REQUEST,
    $_POST do not work either.

    Could someone show me how I should write these few lines dating 2010…
    (worked at least till 2013), which code is now ignored by php 7.4 with
    no explanations since I don’t have debugging function active. This
    example code comes from Kevin Yanks' s book dating 2010 :

    <?php

    $nom = $_GET[‘nom’] ;

    echo ‘Bienvenue sur notre site, ‘ . $nom . ‘ ] ;



    These lines are now ignored by php 7.4

    In any case, I’ve checked my php.ini (which I sent here a few days ago),
    and it seems to say that cookies are activated as well as $_REQUEST and
    other concerned functions.

    On 26/03/2024 10:38, Bernard wrote:
    ls -Al /usr/lib/php/20190902
    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p><font size="4">Yes, this list (exactly the same here) shows that
    mysqli.so is loaded. In any case, as said before, this function
    does operate as I have checked.</font></p>
    <p><font size="4">But I've found more problems, concerning
    $_REQUEST, $_GET... <br>
    </font></p>
    <p> </p>
    <p style="margin-bottom: 0cm; line-height: 100%">
    The old way that I used 11 yrs ago no longer works :</p>
    <p style="margin-bottom: 0cm; line-height: 100%">$nom = S_GET
    [‘nom’] ; </p>
    <p style="margin-bottom: 0cm; line-height: 100%">no longer operates
    with php 7.4. This code is simply ignored. S_REQUEST, $_POST do
    not
    work either.</p>
    <p style="margin-bottom: 0cm; line-height: 100%"> </p>
    <p style="margin-bottom: 0cm; line-height: 100%">
    Could someone show me how I should write these few lines dating
    2010…
    (worked at least till 2013), which code is now ignored by php 7.4
    with no explanations since I don’t have debugging function active.
    This example code comes from Kevin Yanks' s book dating 2010 :</p>
    <p style="margin-bottom: 0cm; line-height: 100%">&lt;?php</p>
    <p style="margin-bottom: 0cm; line-height: 100%">$nom =
    $_GET[‘nom’] ;</p>
    <p style="margin-bottom: 0cm; line-height: 100%">echo ‘Bienvenue
    sur notre site, ‘ . $nom . ‘ ] ;</p>
    <p style="margin-bottom: 0cm; line-height: 100%">?&gt;</p>
    <p style="margin-bottom: 0cm; line-height: 100%"> </p>
    <p style="margin-bottom: 0cm; line-height: 100%">These lines are now
    ignored by php 7.4<br>
    </p>
    <p style="margin-bottom: 0cm; line-height: 100%">
    In any case, I’ve checked my php.ini (which I sent here a few days
    ago), and it seems to say that cookies are activated as well as
    $_REQUEST and other concerned functions.</p>
    <p style="margin-bottom: 0cm; line-height: 100%">
    <style type="text/css">p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }</style></p>
    <p style="margin-bottom: 0cm; line-height: 100%">
    <style type="text/css">p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }</style></p>
    <p>
    <style type="text/css">p { margin-bottom: 0.25cm; line-height: 115%; background: transparent }</style></p>
    <div class="moz-cite-prefix">On 26/03/2024 10:38, Bernard wrote:<br>
    </div>
    <blockquote type="cite"
    cite="mid:5062e7aa-f60c-44be-a8f7-16800ad5fc1a@free.fr">ls -Al
    /usr/lib/php/20190902</blockquote>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bernard@21:1/5 to Bernard on Fri Mar 29 11:50:01 2024
    Hi to Everyone,

    The text quoted below has already been sent to the list, 2-3 days ago,
    someone had replied to it (but the message has been lost, I no longer
    see it on the list. I had replied again, which reply disappeared too.)
    So, I want to say again that the errors shown in the text below (S
    instead of $, ` inst of ') are not errors that I made in the php script,
    which scripts I write using old vi (vim). This was due to the fact that
    some parts of my messages here were typed using LibreOffice and parts
    were copy/pasted here.

    So, my actual concern still is that I can't get a php 7.4 script to call
    for a value entry, as I did years ago with older version.
    $nom = S_GET [‘nom’] ;

    no longer operates with php 7.4. This code is simply ignored. S_REQUEST, $_POST do not work either.
    I spent hours searching for a way to get php to ask for an entry, but I
    didn't find anything.

    On 28/03/2024 10:33, Bernard wrote:
    Yes, this list (exactly the same here) shows that mysqli.so is loaded.
    In any case, as said before, this function does operate as I have checked.

    But I've found more problems, concerning $_REQUEST, $_GET...

    The old way that I used 11 yrs ago no longer works :

    $nom = S_GET [‘nom’] ;

    no longer operates with php 7.4. This code is simply ignored. S_REQUEST, $_POST do not work either.

    Could someone show me how I should write these few lines dating 2010… (worked at least till 2013), which code is now ignored by php 7.4 with
    no explanations since I don’t have debugging function active. This
    example code comes from Kevin Yanks' s book dating 2010 :

    <?php

    $nom = $_GET[‘nom’] ;

    echo ‘Bienvenue sur notre site, ‘ . $nom . ‘ ] ;



    These lines are now ignored by php 7.4

    In any case, I’ve checked my php.ini (which I sent here a few days ago), and it seems to say that cookies are activated as well as $_REQUEST and
    other concerned functions.

    On 26/03/2024 10:38, Bernard wrote:
    ls -Al /usr/lib/php/20190902

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)