Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #268613

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

From Bernard <bdebreil@free.fr>
Newsgroups linux.debian.user
Subject Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work
Date 2024-03-29 11:50 +0100
Message-ID <InhY5-2vti-3@gated-at.bofh.it> (permalink)
References <IlBex-1pmd-7@gated-at.bofh.it> <IlEcp-1rmu-11@gated-at.bofh.it> <ImbrH-1Mtn-1@gated-at.bofh.it> <InhY5-2vti-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Bernard <bdebreil@free.fr> - 2024-03-24 20:00 +0100
  Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Marco Moock <mm@dorfdsl.de> - 2024-03-24 20:10 +0100
    Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Bernard <bdebreil@free.fr> - 2024-03-26 10:40 +0100
      Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Marco Moock <mm@dorfdsl.de> - 2024-03-26 15:10 +0100
        Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Jeffrey Walton <noloader@gmail.com> - 2024-03-26 18:30 +0100
  Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Geert Stappers <stappers@stappers.nl> - 2024-03-24 21:30 +0100
  Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Jeffrey Walton <noloader@gmail.com> - 2024-03-24 23:10 +0100
    Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Bernard <bdebreil@free.fr> - 2024-03-26 10:40 +0100
      Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Bernard <bdebreil@free.fr> - 2024-03-28 10:40 +0100
        Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Greg Wooledge <greg@wooledge.org> - 2024-03-28 12:10 +0100
      Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Bernard <bdebreil@free.fr> - 2024-03-29 11:50 +0100
        Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Greg Wooledge <greg@wooledge.org> - 2024-03-29 12:10 +0100
  Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Bernard <bdebreil@free.fr> - 2024-03-26 11:10 +0100
    Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work Cindy Sue Causey <butterflybytes@gmail.com> - 2024-03-26 14:50 +0100
      Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work David Wright <deblis@lionunicorn.co.uk> - 2024-03-26 17:00 +0100

csiph-web