Page 1 of 1

HELP! php_pgsql not loaded/displayed in phpinfo()

Posted: Wed Apr 22, 2009 12:13 am
by shishi
i'm having troubles making php work with postgresql.

i have modified php.ini to allow the php_pgsql.dll extension then restarted the wampserver but still the module doesn't show up in phpinfo().

i'm using apache 2.2.11,php 5.2.9 and postgresql 8.3

any advise/input will be greatly appreciated.

Re: HELP! php_pgsql not loaded/displayed in phpinfo()

Posted: Wed Apr 22, 2009 1:42 am
by VladSun
Add the path to PG SQL client DLLs (e.g. "bin" directory in your PG SQL install directory) to Windows PATH environment variable.
Also, it's good for you to have a look at Apache error log files from time to time

Re: HELP! php_pgsql not loaded/displayed in phpinfo()

Posted: Wed Apr 22, 2009 3:27 am
by shishi
hi sir. i did just that but still the module isn't loaded/displayed. apache error logs doesn't show anything.

Re: HELP! php_pgsql not loaded/displayed in phpinfo()

Posted: Wed Apr 22, 2009 3:52 am
by shishi
i restarted my pc and everything works well now. thanks devnetwork!