Menu

Running RH 7.3 PHP4... Supported?

Help
2002-10-26
2002-10-27
  • Nobody/Anonymous

    I have read the docs and noticed that PHP3.x is supported.  I am getting the following when I connect to  ../index.php:

    "You do not have postgresql support built into your PHP Web Server.
    phpPgAdmin requires postgresql support to function properly!
    Please check the PHP documentation for corrective action."

    I am assuming that I am getting this error because the pg_connect function is not loaded into an Apache DSO.  And that is most likely because pg_connect is not a PHP4 function in libphp4.so. 

    All that being said, is there 1) a way to make phppgadmin php4.x compatible, or 2) a way to install php3 along side php4? (number 2 is probably off topic, but, if you could point in the right direction, that would be cool).

    Thanks,

    Dave...

     
    • Nobody/Anonymous

      Also, my php globals are on:

      register_globals = On

      Dave...

       
    • Nobody/Anonymous

      Oh, I thought I should mention that I am running:

      Version 2.4.2 - 6/1/2002

       
    • Nobody/Anonymous

      Follow-Up:

      RH apparently does not config PHP to load the pgsql.so library be default.  I added:

      extension=pgsql.so

      to /etc/php.ini and now I get the login page. 

      However, I can't get logged in for some reason...  Back to the lists, helpfiles, etc...

      Thanks again,

      Dave...

       
    • Nobody/Anonymous

      Close the books on this one.

      Had to set:
      cfgServers[1]['local']         = false;
      $cfgServers[1]['host']          = 'localhost';
      $cfgServers[1]['port']          = '5432';
      $cfgServers[1]['adv_auth']      = true;
      (yes, I had changed first line to true while playing...)

      Had to un-comment the following line in $PGDATA/pg_hba.conf:
      host       all         127.0.0.1     255.255.255.255    trust

      Then I had the problems with the blank lines at the end of ../config.inc.php (yes, I probably put those there too...).

      Thanks for all the helpful posts...

      Dave...

       
      • Robert Treat

        Robert Treat - 2002-10-26

        Sorry I missed this thread, I've been afk all evening.  Can you do me a favor and post the output of rpm -qa | grep php on your system? 

         
    • Nobody/Anonymous

      Robert,

      Here it is:

      root@reeltime phppgadmin]# rpm -qa | grep php
      asp2php-gtk-0.76.2-1
      php-4.1.2-7.3.4
      php-mysql-4.1.2-7.3.4
      php-imap-4.1.2-7.3.4
      php-odbc-4.1.2-7.3.4
      php-ldap-4.1.2-7.3.4
      php-pgsql-4.1.2-7.3.4
      php-snmp-4.1.2-7.3.4
      php-manual-4.1.2-7.3.4
      asp2php-0.76.2-1
      php-devel-4.1.2-7.3.4

      What is afk?

      Also, if you want to chat about my experirence with getting phppgadmin up and running, let me know here.  I will send you my email to your xzillia address on your profile.  I think I ran into the same problems the rest of the newbies did and a howto may be helpful...

      Thanks,

      Dave....

       
      • Robert Treat

        Robert Treat - 2002-10-27

        afk = away from keyboard.  I'd be glad to hear about your install.  We keep updating the FAQ and what not, but the more information we can gather the better for everyone.

         

Log in to post a comment.

MongoDB Logo MongoDB