Re: Ubuntu 18 + PHP 8.2 + PDO: can't find drivers

Поиск
Список
Период
Сортировка
От Ray O'Donnell
Тема Re: Ubuntu 18 + PHP 8.2 + PDO: can't find drivers
Дата
Msg-id 18abed3b888.2834.f9dd809031fc0469edf0bbbf79c1d468@rodonnell.ie
обсуждение исходный текст
Ответ на Ubuntu 18 + PHP 8.2 + PDO: can't find drivers  (Chris Kelly <sampro_domains@yahoo.com>)
Ответы Re: Ubuntu 18 + PHP 8.2 + PDO: can't find drivers  (Chris Kelly <sampro_domains@yahoo.com>)
Список pgsql-general

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.

From memory (not at my laptop now) you need to install the php8.2-pgsql package (or maybe it's php8.2-pdo-pgsql). It should just work then... Drupal will notice the driver and offer Postgresql as an option on installation. Don't forget to restart Apache after installing that package 

Ray.


В списке pgsql-general по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: How to fork pg_dump or psql w/o leaking secrets?
Следующее
От: "Ray O'Donnell"
Дата:
Сообщение: Re: Ubuntu 18 + PHP 8.2 + PDO: can't find drivers