PostgreSQL not showing up in phpconfig () function (on windows)
I just installed Apache 2.2.11 and downloaded the zip for PHP5.2.9-2
I'm excavated
extension = php_pdo_pgsql.dll
and
extension = php_pgsql.dll
But when I call phpinfo () function, postgresql doesn't appear. What am I forgetting?
Also, I found the following on the PHP site:
To enable PostgreSQL support, --with-pgsql [= DIR] is required when compiling PHP. DIR is the PostgreSQL base installation directory, by default / usr / local / PgSQL. If the shared object module is available, the PostgreSQL module can be loaded using the extension directive in php.ini or dl () function. I admit this is a Linux solution, but is there something written here telling me I forgot something?
a source to share
To load php_pgsql.dll or php_pdo_pgsql.dll, you still need the pgsql "client library" part. Also, for future reference, you can use a tool like Dependency Walker to load the PHP DLLs and see the missing runtime link.
a source to share