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?