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


Groups > comp.lang.php > #17804 > unrolled thread

new installation centos 7 86_64 mysql_connect not found?

Started byZOT <pasmoi@pasici.us>
First post2018-10-08 16:32 +0200
Last post2018-10-09 09:17 +0200
Articles 11 — 8 participants

Back to article view | Back to comp.lang.php


Contents

  new installation centos 7 86_64 mysql_connect not found? ZOT <pasmoi@pasici.us> - 2018-10-08 16:32 +0200
    Re: new installation centos 7 86_64 mysql_connect not found? tony@mountifield.org (Tony Mountifield) - 2018-10-08 14:43 +0000
      Re: new installation centos 7 86_64 mysql_connect not found? ZOT <pasmoi@pasici.us> - 2018-10-08 16:49 +0200
        Re: new installation centos 7 86_64 mysql_connect not found? Martin Gregorie <martin@mydomain.invalid> - 2018-10-08 15:23 +0000
          Re: new installation centos 7 86_64 mysql_connect not found? tony@mountifield.org (Tony Mountifield) - 2018-10-08 15:31 +0000
            Re: new installation centos 7 86_64 mysql_connect not found? Martin Gregorie <martin@mydomain.invalid> - 2018-10-08 15:56 +0000
          Re: new installation centos 7 86_64 mysql_connect not found? Angel <heyeeeeeeeeeeeeeeeeeee@gmail.com> - 2023-04-15 11:36 -0700
      Re: new installation centos 7 86_64 mysql_connect not found? "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-10-08 17:35 +0200
      Re: new installation centos 7 86_64 mysql_connect not found? Angel <vvvvvvvvv11111111@yahoo.com> - 2023-04-11 02:47 -0700
        Re: new installation centos 7 86_64 mysql_connect not found? doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-04-11 15:55 +0000
    Re: new installation centos 7 86_64 mysql_connect not found? Arno Welzel <usenet@arnowelzel.de> - 2018-10-09 09:17 +0200

#17804 — new installation centos 7 86_64 mysql_connect not found?

FromZOT <pasmoi@pasici.us>
Date2018-10-08 16:32 +0200
Subjectnew installation centos 7 86_64 mysql_connect not found?
Message-ID<ppfpp8$umh$1@gioia.aioe.org>
And others mysql fuctions not found???
Any idea?
Many thanks
Andre

[toc] | [next] | [standalone]


#17805

Fromtony@mountifield.org (Tony Mountifield)
Date2018-10-08 14:43 +0000
Message-ID<ppfqff$cum$1@softins.softins.co.uk>
In reply to#17804
In article <ppfpp8$umh$1@gioia.aioe.org>, ZOT  <pasmoi@pasici.us> wrote:
> And others mysql fuctions not found???
> Any idea?
> Many thanks
> Andre

You need to install the package php-mysql, or php-mysqlnd.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

[toc] | [prev] | [next] | [standalone]


#17806

FromZOT <pasmoi@pasici.us>
Date2018-10-08 16:49 +0200
Message-ID<ppfqq6$10a2$1@gioia.aioe.org>
In reply to#17805
Le 08/10/2018 16:43, Tony Mountifield a écrit :
> In article <ppfpp8$umh$1@gioia.aioe.org>, ZOT  <pasmoi@pasici.us> wrote:
>> And others mysql fuctions not found???
>> Any idea?
>> Many thanks
>> Andre
>
> You need to install the package php-mysql, or php-mysqlnd.
>
I will try it tommorow morning, many thanks
Andre
> Cheers
> Tony
>

[toc] | [prev] | [next] | [standalone]


#17807

FromMartin Gregorie <martin@mydomain.invalid>
Date2018-10-08 15:23 +0000
Message-ID<ppfsop$2mi$1@news.albasani.net>
In reply to#17806
On Mon, 08 Oct 2018 16:49:43 +0200, ZOT wrote:

> Le 08/10/2018 16:43, Tony Mountifield a écrit :
>> In article <ppfpp8$umh$1@gioia.aioe.org>, ZOT  <pasmoi@pasici.us>
>> wrote:
>>> And others mysql fuctions not found???
>>> Any idea?
>>> Many thanks Andre
>>
>> You need to install the package php-mysql, or php-mysqlnd.
>>
For your future reference:

sudo dnf list php*

lists all the packages whose names start with 'php', i.e. all the php add-
on packages and

sudo dnf info php-mysqlnd

tells you more about whats in that package and 

sudo dnf provides xxxx 

tells you what package contains xxxx. Read the dnf manpage to see what 
else it can do for you.


-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#17808

Fromtony@mountifield.org (Tony Mountifield)
Date2018-10-08 15:31 +0000
Message-ID<ppft90$dq0$1@softins.softins.co.uk>
In reply to#17807
In article <ppfsop$2mi$1@news.albasani.net>,
Martin Gregorie  <martin@mydomain.invalid> wrote:
> On Mon, 08 Oct 2018 16:49:43 +0200, ZOT wrote:
> 
> > Le 08/10/2018 16:43, Tony Mountifield a écrit :
> >> In article <ppfpp8$umh$1@gioia.aioe.org>, ZOT  <pasmoi@pasici.us>
> >> wrote:
> >>> And others mysql fuctions not found???
> >>> Any idea?
> >>> Many thanks Andre
> >>
> >> You need to install the package php-mysql, or php-mysqlnd.
> >>
> For your future reference:
> 
> sudo dnf list php*
> 
> lists all the packages whose names start with 'php', i.e. all the php add-
> on packages and
> 
> sudo dnf info php-mysqlnd
> 
> tells you more about whats in that package and 
> 
> sudo dnf provides xxxx 
> 
> tells you what package contains xxxx. Read the dnf manpage to see what 
> else it can do for you.

Except the OP specified CentOS 7, which doesn't include dnf. So he will need
to use yum in place of dnf in the above examples.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

[toc] | [prev] | [next] | [standalone]


#17810

FromMartin Gregorie <martin@mydomain.invalid>
Date2018-10-08 15:56 +0000
Message-ID<ppfuo7$rnk$1@news.albasani.net>
In reply to#17808
On Mon, 08 Oct 2018 15:31:45 +0000, Tony Mountifield wrote:

> In article <ppfsop$2mi$1@news.albasani.net>,
> Martin Gregorie  <martin@mydomain.invalid> wrote:
>> On Mon, 08 Oct 2018 16:49:43 +0200, ZOT wrote:
>> 
>> > Le 08/10/2018 16:43, Tony Mountifield a écrit :
>> >> In article <ppfpp8$umh$1@gioia.aioe.org>, ZOT  <pasmoi@pasici.us>
>> >> wrote:
>> >>> And others mysql fuctions not found???
>> >>> Any idea?
>> >>> Many thanks Andre
>> >>
>> >> You need to install the package php-mysql, or php-mysqlnd.
>> >>
>> For your future reference:
>> 
>> sudo dnf list php*
>> 
>> lists all the packages whose names start with 'php', i.e. all the php
>> add-
>> on packages and
>> 
>> sudo dnf info php-mysqlnd
>> 
>> tells you more about whats in that package and
>> 
>> sudo dnf provides xxxx
>> 
>> tells you what package contains xxxx. Read the dnf manpage to see what
>> else it can do for you.
> 
> Except the OP specified CentOS 7, which doesn't include dnf. So he will
> need to use yum in place of dnf in the above examples.
>
I did wonder about that, but as dnf has been around since F20, i.e. about 
4 years, I assumed it must be on centos by now.

In the meanwhile, as you said, the commands I suggested all work on yum.


-- 
Martin    | martin at
Gregorie  | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#19441

FromAngel <heyeeeeeeeeeeeeeeeeeee@gmail.com>
Date2023-04-15 11:36 -0700
Message-ID<c712412f-6f00-4b41-a7c5-957274fb34f1n@googlegroups.com>
In reply to#17807
Check out:

⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik2.freehostpro.com/a.php
⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik3.66ghz.com/a.php
⠀⠀⠀⠀⠀⠀⠀⠀kohtumispaik4.medianewsonline.com/a.php
⠀⠀⠀⠀⠀⠀⠀⠀aaaaaaaaaaaaaaaar.medianewsonline.com/firstpage.php
⠀⠀⠀⠀⠀⠀⠀⠀themostconfortabletalkplace.medianewsonline.com/a.php


See You on the addresses......



On Monday, October 8, 2018 at 5:23:10 PM UTC+2, Martin Gregorie wrote:
> On Mon, 08 Oct 2018 16:49:43 +0200, ZOT wrote: 
> 
> > Le 08/10/2018 16:43, Tony Mountifield a écrit : 
> >> In article <ppfpp8$umh$1...@gioia.aioe.org>, ZOT <pas...@pasici.us> 
> >> wrote: 
> >>> And others mysql fuctions not found??? 
> >>> Any idea? 
> >>> Many thanks Andre 
> >> 
> >> You need to install the package php-mysql, or php-mysqlnd. 
> >>
> For your future reference: 
> 
> sudo dnf list php* 
> 
> lists all the packages whose names start with 'php', i.e. all the php add- 
> on packages and 
> 
> sudo dnf info php-mysqlnd 
> 
> tells you more about whats in that package and 
> 
> sudo dnf provides xxxx 
> 
> tells you what package contains xxxx. Read the dnf manpage to see what 
> else it can do for you. 
> 
> 
> -- 
> Martin | martin at 
> Gregorie | gregorie dot org

[toc] | [prev] | [next] | [standalone]


#17809

From"Christoph M. Becker" <cmbecker69@arcor.de>
Date2018-10-08 17:35 +0200
Message-ID<ppftg9$bdl$1@solani.org>
In reply to#17805
On 08.10.2018 at 16:43, Tony Mountifield wrote:

> In article <ppfpp8$umh$1@gioia.aioe.org>, ZOT  <pasmoi@pasici.us> wrote:
>> And others mysql fuctions not found???
>> Any idea?
>> Many thanks
> 
> You need to install the package php-mysql, or php-mysqlnd.

Note though, that the MySQL extension is deprecated as of PHP 5.5.0 and
removed as of PHP 7.0.0[1].  Even if it is still supported by your
distro, consider switching to MySQLi or PDO_MySQL.

[1] <http://php.net/manual/en/intro.mysql.php>

-- 
Christoph M. Becker

[toc] | [prev] | [next] | [standalone]


#19420

FromAngel <vvvvvvvvv11111111@yahoo.com>
Date2023-04-11 02:47 -0700
Message-ID<cb37ec81-60d5-4ea0-b2ad-2d8fd25974ean@googlegroups.com>
In reply to#17805
Damn, I cannot believe how unbelievably intelligent You are..............


On Monday, October 8, 2018 at 4:44:45 PM UTC+2, Tony Mountifield wrote:
> In article <ppfpp8$umh$1...@gioia.aioe.org>, ZOT <pas...@pasici.us> wrote: 
> > And others mysql fuctions not found??? 
> > Any idea? 
> > Many thanks 
> > Andre
> You need to install the package php-mysql, or php-mysqlnd. 
> 
> Cheers 
> Tony 
> -- 
> Tony Mountifield 
> Work: to...@softins.co.uk - http://www.softins.co.uk 
> Play: to...@mountifield.org - http://tony.mountifield.org

[toc] | [prev] | [next] | [standalone]


#19422

Fromdoctor@doctor.nl2k.ab.ca (The Doctor)
Date2023-04-11 15:55 +0000
Message-ID<u13vua$ga2$39@gallifrey.nk.ca>
In reply to#19420
In article <cb37ec81-60d5-4ea0-b2ad-2d8fd25974ean@googlegroups.com>,
Angel  <vvvvvvvvv11111111@yahoo.com> wrote:
>Damn, I cannot believe how unbelievably intelligent You are..............
>
>
>On Monday, October 8, 2018 at 4:44:45 PM UTC+2, Tony Mountifield wrote:
>> In article <ppfpp8$umh$1...@gioia.aioe.org>, ZOT <pas...@pasici.us> wrote: 
>> > And others mysql fuctions not found??? 
>> > Any idea? 
>> > Many thanks 
>> > Andre
>> You need to install the package php-mysql, or php-mysqlnd. 
>> 
>> Cheers 
>> Tony 
>> -- 
>> Tony Mountifield 
>> Work: to...@softins.co.uk - http://www.softins.co.uk 
>> Play: to...@mountifield.org - http://tony.mountifield.org

Stick around.
-- 
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b 
We do not destroy what is dear to us.  -unknown Beware https://mindspring.com

[toc] | [prev] | [next] | [standalone]


#17811

FromArno Welzel <usenet@arnowelzel.de>
Date2018-10-09 09:17 +0200
Message-ID<g232vnFp2e1U1@mid.individual.net>
In reply to#17804
ZOT:

> And others mysql fuctions not found???
> Any idea?

"mysql" (mysql_connect etc.) is deprecated since PHP 5.5 and not
available any longer since PHP 7.0. You have to use "mysqli" now:

<http://php.net/manual/en/book.mysqli.php>



-- 
Arno Welzel
https://arnowelzel.de
https://de-rec-fahrrad.de
http://fahrradzukunft.de

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web