From: Chris Kelly <sampro_domains@yahoo.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Ubuntu 18 + PHP 8.2 + PDO: can't find drivers
Date: Sat, 23 Sep 2023 18:56:38 +0000 (UTC)
Message-ID: <1579525868.3160198.1695495398844@mail.yahoo.com> (raw)
In-Reply-To: <18abed3b888.2834.f9dd809031fc0469edf0bbbf79c1d468@rodonnell.ie>
References: <916245735.130528.1695415197705.ref@mail.yahoo.com>
<916245735.130528.1695415197705@mail.yahoo.com>
<18abed3b888.2834.f9dd809031fc0469edf0bbbf79c1d468@rodonnell.ie>
On Ubuntu "18.04.6 LTS (Bionic Beaver)":
# apt-cache search pgsql | grep 8
pike7.8-pg - PostgreSQL modules for Pike
pike8.0-pg - PostgreSQL modules for Pike
# apt-cache search pgsql | grep php
php-pgsql - PostgreSQL module for PHP [default]
php7.2-pgsql - PostgreSQL module for PHP
php-db - Database Abstraction Layer
php-mdb2-driver-pgsql - pgsql MDB2 driver
This is for an existing site with an existing db dump and an existing codebase. I can't use PHP7 due to composer requirements.
I tried to add the ondrej repo but got "The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29".
On Friday, September 22, 2023 at 02:38:24 PM PDT, Ray O'Donnell <ray@rodonnell.ie> wrote:
On 22 September 2023 21:40:38 Chris Kelly <sampro_domains@yahoo.com> wrote:
The need has mostly passed (I used another computer with Ubuntu 20) but are there clear, *working* instructions for how to connect to Postgress on Ubuntu 18 via PDO? I don't see drivers that would work. This is for a Drupal site.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: sampro_domains@yahoo.com
Subject: Re: Ubuntu 18 + PHP 8.2 + PDO: can't find drivers
In-Reply-To: <1579525868.3160198.1695495398844@mail.yahoo.com>
References: <916245735.130528.1695415197705.ref@mail.yahoo.com> <916245735.130528.1695415197705@mail.yahoo.com> <18abed3b888.2834.f9dd809031fc0469edf0bbbf79c1d468@rodonnell.ie> <1579525868.3160198.1695495398844@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox