Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : How do I use PostGreSQL with AMPPS?



Threaded Mode | Print  

 How do I use PostGreSQL with AMPPS?, Not sure how to start using postgres with AMPPS (3 Replies, Read 14060 times)
Star_informer
Group: Member
Post Group: Newbie
Posts: 3
Status:
I've searched a great deal, but I have not come accross any help for this.  I am using both Windows and Mac (Windows right now) to manage some databases with postgres.  I've installed the server through the binary installer, and I have enabled the php_pdo_pgsql.dll extension via the Php Extension button in AMPPS, but I still get the following message, upon starting AMPPS:

Quote
PHP Startup: Unable to load dynamic library 'C:/Program Files (x86)/Ampps\php\ext\php_pdo_pgsql.dll' - The specified module could not be found


I check the directory, and the file is there.

The postGres services are also verified to be running.

Can anyone guide me in the right direction so that I can get AMPPS working with PostGres?

Thanks in advance.
IP: --   

How do I use PostGreSQL with AMPPS?
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Please search for the following line in httpd.conf(Goto AMPPS Control Center->Apache->Configuration),

PHPIniDir "{$path}/apache"

Below this line add this,
Loadfile "{$path}/php/libpq.dll"

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

How do I use PostGreSQL with AMPPS?
Star_informer
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : ketan October 6, 2012, 7:58 am
Hi,

Please search for the following line in httpd.conf(Goto AMPPS Control Center->Apache->Configuration),

PHPIniDir "{$path}/apache"

Below this line add this,
Loadfile "{$path}/php/libpq.dll"

Thanks for your help.  I no longer get the error, but Posgres is still not showing up as running for my Joomla installation (see here).

I have been instructed to install the
Code
php5-pgsql
extension.  Can anyone explain how I would do this via AMPPS?  I am aware that my Postgres installation is listening to port 5436 (or something like that number).  And if AMPPS is simply listening to localhost, this would explain why I'm not having any success (or so I think).  I'm rather new to this all, so thanks for understanding.
IP: --   

How do I use PostGreSQL with AMPPS?
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Go to AMPPS Application -> PHP Tab -> Extensions -> Check "php_pgsql". Click on Apply. Restart Apache.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 26, 2024, 7:24 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.024