您的PHP安装不支持PostgreSQL [英] Your PHP installation does not support PostgreSQL
本文介绍了您的PHP安装不支持PostgreSQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,我需要大家的帮助.
我正在为我的postgres使用phppgadmin.我为xp操作系统安装了wamp.
在我的php.ine中,我有:
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
在我的config.inc.php中,我有以下代码:
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'';
仍然出现错误消息:您的PHP安装不支持PostgreSQL"
Still I get an Error Message: "Your PHP installation does not support PostgreSQL"
Help me please.
推荐答案
conf [''servers''] [0] [''desc''] =``PostgreSQL'';
conf[''servers''][0][''desc''] = ''PostgreSQL'';
conf [''servers''] [0] [''host''] =``localhost'';
conf[''servers''][0][''host''] = ''localhost'';
conf [''servers'' ] [0] [''port''] = 5432;
conf[''servers''][0][''port''] = 5432;
这篇关于您的PHP安装不支持PostgreSQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文