Answer for Q1 in Linux - please, check my english :-)
authorslubek <slubek>
Mon, 15 Dec 2003 23:09:35 +0000 (23:09 +0000)
committerslubek <slubek>
Mon, 15 Dec 2003 23:09:35 +0000 (23:09 +0000)
FAQ

diff --git a/FAQ b/FAQ
index b688bb786affdfdab05ea543e45947b486494ec8..3ffaa11be5bc24de4e1f3e674c434eafb88c2fd8 100644 (file)
--- 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.