Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I need your help everyone.

I'm using phppgadmin for my postgres. I installed wamp for my xp os.
in my php.ine I have:

extension_dir = "F:/wamp/bin/php/php5.3.0/ext/"

// php_pgsql.dll is located in this directory F:/wamp/bin/php/php5.3.0/ext/

and I removed the semicolon
;extension=php_pgsql.dll

to
extension=php_pgsql.dll


and in my config.inc.php I have this code:
$conf['servers'][0]['desc'] = 'PostgreSQL';
    $conf['servers'][0]['host'] = 'localhost';
    $conf['servers'][0]['port'] = 5432;
    $conf['servers'][0]['sslmode'] = 'allow';
    $conf['servers'][0]['defaultdb'] = 'template1';
    $conf['servers'][0]['pg_dump_path'] = 'F:\\Program Files\\PostgresPlus\\8.4SS\\bin\\pg_dump.exe';
    $conf['servers'][0]['pg_dumpall_path'] = 'F:\\Program Files\\PostgresPlus\\8.4SS\\bin\\pg_dumpall.exe';
    $conf['servers'][0]['slony_support'] = false;
    $conf['servers'][0]['slony_sql'] = 'F:\\Program Files\\PostgresPlus\\8.4SS\\share';


Still I get an Error Message: "Your PHP installation does not support PostgreSQL"

Help me please.
Posted
Updated 7-Nov-10 18:19pm
v2
Comments
jim lahey 8-Nov-10 6:27am    
Do you have all the .dlls for postgresql? from what I remember, postgre wasn't part of the core PHP install, rather it needed to be installed on top. you could try re-registering php_pgsql.dll at a command prompt and see if that helps:

regsvr32 php_pgsql.dll

1 solution

I would start by seeing what phpinfo() returns?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900