Jump to content

Featured Replies

Posted

Hi,

I would like to enable PostgreSQL and pgAdmin, I do following this tutorial

PostgreSQL Installation and Management - Control WebPanel Wiki (centos-webpanel.com)

and enable pgsql module in PHP version switcher, but pgAdmin still can not work

The message error is:

Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.

Please help! Thanks!

Solved by Sandeep B.

Go to solution

Have you tried going to PHP Selector or PHP-FPM Selector and using "manage options" Action to add pgsql PostgreSQL driver for PHP for your version of PHP?  It is normally not active for default compilations.

  • Solution

try this
 

cd /usr/local/cwpsrv/var/services
yum install cwpPgphp -y
yum reinstall cwpPgphp -y
mv phpPgAdmin phpPgAdmin.bak
wget https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.zip
unzip phpPgAdmin-7.13.0.zip
mv phpPgAdmin-7.13.0 phpPgAdmin
rm -rf phpPgAdmin-7.13.0.zip

 

  • Author

Thanks Sandeep!

10 hours ago, Sandeep B. said:

try this
 

cd /usr/local/cwpsrv/var/services
yum install cwpPgphp -y
yum reinstall cwpPgphp -y
mv phpPgAdmin phpPgAdmin.bak
wget https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.zip
unzip phpPgAdmin-7.13.0.zip
mv phpPgAdmin-7.13.0 phpPgAdmin
rm -rf phpPgAdmin-7.13.0.zip

 

 

  • 5 months later...
On 3/7/2024 at 12:38 AM, Sandeep B. said:

try this
 

cd /usr/local/cwpsrv/var/services
yum install cwpPgphp -y
yum reinstall cwpPgphp -y
mv phpPgAdmin phpPgAdmin.bak
wget https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.zip
unzip phpPgAdmin-7.13.0.zip
mv phpPgAdmin-7.13.0 phpPgAdmin
rm -rf phpPgAdmin-7.13.0.zip

 

Hello friend, I'm trying to make phpPgAdmin work but it doesn't work, I rebuilt php, I did what you propose here and I still get the following error, any other solution?

 

Your PHP installation does not support the pgsql module. You will need to install, enable, or compile it to use phpPgAdmin.

Create an account or sign in to comment