HELP! php_pgsql not loaded/displayed in phpinfo()

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
shishi
Forum Newbie
Posts: 14
Joined: Wed Apr 22, 2009 12:05 am

HELP! php_pgsql not loaded/displayed in phpinfo()

Post 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.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

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

Post 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
There are 10 types of people in this world, those who understand binary and those who don't
shishi
Forum Newbie
Posts: 14
Joined: Wed Apr 22, 2009 12:05 am

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

Post by shishi »

hi sir. i did just that but still the module isn't loaded/displayed. apache error logs doesn't show anything.
shishi
Forum Newbie
Posts: 14
Joined: Wed Apr 22, 2009 12:05 am

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

Post by shishi »

i restarted my pc and everything works well now. thanks devnetwork!
Post Reply