Menu

This PHP setup does not support Postgres ?

Help
2003-10-27
2003-12-28
  • Nobody/Anonymous

    I've recently installed phpPgAdmin on a Cobalt Raq4 which has Postgres on it (up and running).
    When I try to access phpPGAdmin I am told that I should recompile PHP using the --with-pgsql option.

    In reality this option is already enabled.
    I am using Php 4.1.2.
    The configure command reports :

    './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-gettext=/usr' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--with-ttf' '--with-db' '--with-gdbm' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-track-vars' '--enable-wddx=shared' '--enable-mm=shared' '--enable-xml' '--enable-ftp' '--disable-debug' '--with-libdir=/usr/lib' '--with-db3' '--with-interbase=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' '--with-curl=shared' '--with-pdflib=shared'

    Anyone can help please ?

     
    • Nobody/Anonymous

      Please !!!!!   :(((((

       
      • Nobody/Anonymous

        You need to recompile PHP with the --enable-pgsql or whatever it is flag.

         
    • Nobody/Anonymous

      if you are using RedHat Linux then try

      up2date -u php-pgsql

      and then

      service httpd restart

      Good luck!
      you don't need to recompile php

       
    • Nobody/Anonymous

      Unfortunately I don't have Red-Hat. I have a Linix version from Sun dedicated to cobalt server appliances.
      As you can see in my first post the '--with-pgsql=shared' is already active.
      So what else should  I do ?

       
    • Nobody/Anonymous

      did you enable the module in php.ini?

       

Log in to post a comment.