I've installed postgreSQL under Ubuntu, with nginx server but I can't make it work with php (php cgi). The error I'm getting is:
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
I've installed the extension apt-get install php5-pgsql and I checked it exists under /usr/lib/php5/20090626.
I added the line in php.ini extension=pgsql.so and also with full path. I restarted PHP.
What else should I try?
extension=pgsql.iniin your php.ini would enable that extension?extension=pgsql.inidid load mongoDB. You perhaps should check what exactly you've entered there to enable it last time, copy and paste both, but then next or under each other (or meld them) and compare closely. You computer only does what you configure it for. And as it's ubuntu, it tends to be a little more complicated than normal linux, however it is still pretty straight forward.