From: slubek Date: Mon, 15 Dec 2003 23:09:35 +0000 (+0000) Subject: Answer for Q1 in Linux - please, check my english :-) X-Git-Tag: REL_3-3-1~66 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=8844829b80dd0e10e37cd9d0c20e9032da92bca2;p=phppgadmin.git Answer for Q1 in Linux - please, check my english :-) --- diff --git a/FAQ b/FAQ index b688bb78..3ffaa11b 100644 --- a/FAQ +++ b/FAQ @@ -9,19 +9,25 @@ Q: I've installed phpPgAdmin but when I try to use it I get an error message PHP installation. A: This means that you have not properly compiled PostgreSQL support into - your PHP. The correct configure flag to use is '--with-pgsql'. Read the + your PHP. The correct configure flag to use is '--with-pgsql'. Read the PHP manual and website for more help with this. - Under Windows, you cannot easily recompile PHP. In this case, open your - php.ini file (usually in C:\WINDOWS or C:\WINNT) and change this line: + PostgreSQL support can be also compiled into PHP as a dynamic extension, + so if you have precompiled version (Linux RPM, or Windows binary), there + are still chances, that only thing you should do is to enable loading it + automagically. - ;extension=php_pgsql.dll + It can be done by editing your php.ini file (under Windows, usually in + C:\WINDOWS or C:\WINNT, under Linux /etc/php.ini) and uncommenting this + line: - to: - - extension=php_pgsql.dll + ;extension=php_pgsql.dll ;under Windows + ;extension=pgsql.so ;under Linux - and then restart your web server. + so it would look like that: + + extension=php_pgsql.dll ;under Windows + extension=pgsql.so ;under Linux Q: I always get "Login failed" even though I'm _sure_ I'm using the right username and password.