I just installed Apache 2.2.11 and downloaded the zip for PHP5.2.9-2
I uncommented
extension=php_pdo_pgsql.dll
and
extension=php_pgsql.dll
But when I call the phpinfo() function, postgresql is not showing up. What am I forgetting?
Also, on the PHP site, I found this:
In order to enable PostgreSQL support,
–with-pgsql[=DIR] is required when you compile PHP. DIR is the PostgreSQL
base install directory, defaults to
/usr/local/pgsql. If shared object
module is available, PostgreSQL module
may be loaded using extension
directive in php.ini or dl()
function.
I recognise that this is ment for Linux, but is there something written here, telling me to do something I’ve forgotten?
In your
php.inimake sure that theextension_dirdirective is pointing to the folder that contains the php_pgsql.dll file.Also check your HTTP error log for errors.