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


Groups > linux.debian.user > #268567

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-28 10:40 +0100
Message-ID <ImUoN-2eiy-7@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>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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