Thread

  1. Postgres with php3

    Carsten Huettl <chuettl@ahorn-net.de> — 2000-06-20T18:50:10Z

    Hello,
    
    I have setup a RH 6.2 box with postgres.
    The httpd (apache) has support for php3. 
    But I don't know if the rh installation builds in the php3 support in 
    postgres. I installed the pgadmin 2.0.2 but it did not find any 
    database. Maybe this is becuase rh installs in different directories 
    then recommended.
    The pgphp package is installed as I see from rpm -q
    How do I check if the postgres installation is correct with support for 
    php3.
    
    TIA
    C.
    
    
    -- 
    Carsten Huettl - <http://www.ahorn-Net.de>
    pgp-key on request
    
    
  2. Re: Postgres with php3

    Karl F. Larsen <k5di@zianet.com> — 2000-06-21T12:19:53Z

    I haven't played with apache so am not sure what php3 is. But I'm sure you
    first need to get postgres running. Go to /usr/doc/ and read the README
    under your version of postgres. It tells you how to turn on postgres and
    get the postmaster running. You want it to turn on each time you boot
    Linux. 
    
    Now read about php3 and see how it interfaces....
    
    On Tue, 20 Jun 2000, Carsten Huettl wrote:
    
    > Hello,
    > 
    > I have setup a RH 6.2 box with postgres.
    > The httpd (apache) has support for php3. 
    > But I don't know if the rh installation builds in the php3 support in 
    > postgres. I installed the pgadmin 2.0.2 but it did not find any 
    > database. Maybe this is becuase rh installs in different directories 
    > then recommended.
    > The pgphp package is installed as I see from rpm -q
    > How do I check if the postgres installation is correct with support for 
    > php3.
    > 
    > TIA
    > C.
    > 
    > 
    > -- 
    > Carsten Huettl - <http://www.ahorn-Net.de>
    > pgp-key on request
    > 
    > 
    
    Yours Truly,
    
      	 - Karl F. Larsen, k5di@arrl.net  (505) 524-3303  -
    
    
    
  3. Re: [NOVICE] Postgres with php3

    Carsten Huettl <chuettl@ahorn-net.de> — 2000-06-21T19:51:34Z

    > I haven't played with apache so am not sure what php3 is. But I'm sure you
    > first need to get postgres running. Go to /usr/doc/ and read the README
    
    postgresql runs. I have created a sample of dbs for testing with 
    some tables. It runs perfekt at this point. I can see the db files in the 
    PGDATA directory. It seems to be allright.
     
    > under your version of postgres. It tells you how to turn on postgres and
    pgsql v6.5.x
    > get the postmaster running. You want it to turn on each time you boot
    > Linux. 
    
    Bye
    C.
    
    -- 
    Carsten Huettl - <http://www.ahorn-Net.de>
    pgp-key on request
    
    
  4. Re: Postgres with php3

    Carsten Huettl <chuettl@ahorn-net.de> — 2000-06-21T19:51:34Z

    > I haven't played with apache so am not sure what php3 is. But I'm sure you
    > first need to get postgres running. Go to /usr/doc/ and read the README
    
    postgresql runs. I have created a sample of dbs for testing with 
    some tables. It runs perfekt at this point. I can see the db files in the 
    PGDATA directory. It seems to be allright.
     
    > under your version of postgres. It tells you how to turn on postgres and
    pgsql v6.5.x
    > get the postmaster running. You want it to turn on each time you boot
    > Linux. 
    
    Bye
    C.
    
    -- 
    Carsten Huettl - <http://www.ahorn-Net.de>
    pgp-key on request
    
    
  5. Re: Postgres with php3

    Danny Aldham <danny@lennon.postino.com> — 2000-06-21T22:01:38Z

    Have you tried creating a php script like:
    <?php phpinfo() ?>
    
    This will display a page in a browser with how php is configured. You can
    confirm that postgres is in your php.
    
    
    Danny Aldham     Providing Certified Internetworking Solutions to Business
    www.postino.com  E-Mail, Web Servers, Web Databases, SQL PHP & Perl
     
    > > I haven't played with apache so am not sure what php3 is. But I'm sure you
    > > first need to get postgres running. Go to /usr/doc/ and read the README
    > 
    > postgresql runs. I have created a sample of dbs for testing with 
    > some tables. It runs perfekt at this point. I can see the db files in the 
    > PGDATA directory. It seems to be allright.
    >  
    > > under your version of postgres. It tells you how to turn on postgres and
    > pgsql v6.5.x
    > > get the postmaster running. You want it to turn on each time you boot
    > > Linux. 
    > 
    > Bye
    > C.
    > 
    > -- 
    > Carsten Huettl - <http://www.ahorn-Net.de>
    > pgp-key on request
    >