Answer the question
In order to leave comments, you need to log in
How to connect PostgreSQL to XAMPP on macos?
How to connect PostgreSQL to XAMPP on macos?
I uncommented the lines:
extension=php_pdo_pgsql.dll
extension=php_pgsql.dll
When trying to connect to the database, it gives an error:
Fatal error: Uncaught Error: Call to undefined function pg_connect() in /opt/lampp/htdocs/select.php:9 Stack trace: #0 {main} thrown in /opt/lampp/htdocs/select.php on line 9
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question