• 18 Jan, 2025

How to Enable PostgreSQL to Work with PHP

How to Enable PostgreSQL to Work with PHP

To enable PostgreSQL to work with PHP, you need to install and configure the pgsql module in php.ini

Open wamp do this setting 

 

image.png

Then click the Apache config after that click on the php.ini

php.ini file will open then search for pgsql

 

image-1.png

As you can see from the file above, the pgsql extension is noted. Take the ";" out of the line to uncomment it. 

 

After that restart the Apache