Can't install php-pgsql

#1
Hello,

I am trying to install php-pgsql via apt-get install php-pgsql but it gets installed to /etc/php/7.4/mods-available instead than /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/

How can I install php-pgsql so that it gets recognized by the litespeed PHP installation?
 

Unique_Eric

Administrator
Staff member
#2
You can install it from litespeed repository.
Code:
apt search lsphp73-pgsql
Sorting... Done
Full Text Search... Done
lsphp73-pgsql/focal 7.3.17-1+focal amd64
  PostgreSQL module for PHP
Code:
apt install lsphp73-pgsql -y
 
Top