Jump to content

How to enable pgAdmin?


Go to solution Solved by Sandeep B.,

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 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

 

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

  • 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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...