[Centos] Problem with conection to postgresql from php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Did you install SELinux?  Probably getting access denied.

Mike
 

-----Original Message-----
From: centos-bounces@xxxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxxx] On
Behalf Of Cristofer N. Reyes A.
Sent: Sunday, March 13, 2005 9:46 PM
To: CentOS discussion and information list
Subject: [Centos] Problem with conection to postgresql from php

Hi anyone!

I've using Centos 4.0, and I've a problem at the time of connecting me to
the data base from PHP, my code is:

<?php
        session_start();
        session_register("session");
        include("include/connect.php");
        include("include/disenno.php");

?>
<html>
<head>
...

When I connect myself to the page does not show anything to me of which it
is underneath include("include/connect.php") This file have this:

<?php
$db1 = pg_connect("dbname=db user=user password=pass host=ip"); ?>

In Centos 3.4 the same configuration works well.

Any idea?

Bye!
-- 
Cristofer Reyes Aguilera        linux-user #353991

http://www.inf.utfsm.cl/~crreyes
Laboratorio de Computacion, Departamento de Informatica, UTFSM crreyes (at)
inf (dot) utfsm (dot) cl



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux