Jump to content

PostgreSQL


Recommended Posts

I am trying to get my php installation to run PostqreSQL queries. Right now i am getting the following error

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

I tried adding extension=pgsql.so to my php.ini file and restarting my server but that didn't work. I am running this on a MAC server.

 

Thanks for the help

Link to comment
https://forums.phpfreaks.com/topic/199202-postgresql/
Share on other sites

I tried adding extension=pgsql.so to my php.ini file and restarting my server but that didn't work.

 

Only the Windows distributions come with pre-compiled extensions.

 

The instructions are written in the error.

 

You need to recompile PHP using the --with-pgsql configure option.

 

I'm not sure how Macs handle package management but on Linux this would be as simple as installing the php-postgres package.

Link to comment
https://forums.phpfreaks.com/topic/199202-postgresql/#findComment-1045505
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.