Control Web Panel

WebPanel => PostgreSQL => Topic started by: inyong on April 14, 2015, 03:11:20 PM

Title: Your PHP installation does not support PostgreSQ
Post by: inyong on April 14, 2015, 03:11:20 PM
how to fix Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.?
Title: Re: Your PHP installation does not support PostgreSQ
Post by: brijendrasial on April 15, 2015, 11:42:45 AM
1) Login to CWP.

2) Navigate to PHP Settings --> PHP Version Switcher.

3) Select PHP Version and click Next.

4) In "Additional configuration (only for advanced users):" add "--with-pgsql" in new line without quotes and click "start compiler in background".

This will enable phpPgAdmin
Title: Re: Your PHP installation does not support PostgreSQ
Post by: inyong on April 16, 2015, 03:01:17 AM
Thanks problem solve.  :)
Title: Re: Your PHP installation does not support PostgreSQ
Post by: amirsonb on August 17, 2015, 09:50:13 AM
I have this same problem. I tried following the instructions but it doesn't work for me.

I looked in the configuration and I found out that "--with-pgsql" is not there. It appears when I click the "start compiler in background", the config is not saving.

Any idea?
Title: Re: Your PHP installation does not support PostgreSQ
Post by: Biswashost on July 26, 2022, 07:33:36 AM
Hi, none of the answer working now a days! Because in 2022 today the panel php setting up system has been changed. When I try switch php there have only on/off php extension not possible to write anything with default php. I already enabled pgsql extension while complied but still seeing that odd message " "Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.""

How to overcome this situation, does anyone know it?
Title: Re: Your PHP installation does not support PostgreSQ
Post by: Starburst on July 26, 2022, 03:13:03 PM
Don't know if this will help or not:

https://www.uxlinux.com/how-to-upgrade-postgresql-to-latest-version-postgresql-in-cwp-centos-7-8-el7-el8/