To enable PostgreSQL to work with PHP, you need to install and configure the pgsql module in php.ini
Open php.ini file (C:xamppphp.ini) or XAMPP control panel
XAMPP Control Panel
Then click the Apache config after that click on the php.ini
php.ini file will open then search for pgsql
In the file above you can see the pgsql extension is commented. Uncomment that line by removing the “;â€
After that restart the Apache
The post How to Enable PostgreSQL to Work with PHP appeared first on PHPGurukul.
Source: Read MoreÂ