Re: pg_connect() problem with postgresql 7.3.4
| From: | Martin Marques | Date: | Wed, 29 Oct 2003 16:15:38 +0000 |
| Subject: | Re: pg_connect() problem with postgresql 7.3.4 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31348@lists.php.net to get a copy of this message | ||
El Mié 29 Oct 2003 07:14, S.P.Vimala escribió:
> Hi,
> I have installed posgresql(serve/libs)-7.3.4 on my linux machine. It
> has
> httpd-2.0.40-8
> php-4.2.2-8.0.8
> php-pgsql-4.2.2-8.0.8
> Now pg_connect on my code gives me an error undefined function call. I
> tried to upgrade to php4.3. But this gives me a lot of dependencies
> errors. phpinfo() gives me a message of database support for postgresql
> but there is no seperate row for postgreSQL Support as i used to get
> before. But php-pgsql is installed.
I don't get it. Is there or isn't there messages for PostgreSQL in phpinfo()?
> I have php 4.1/apache in windows and the postgresql db on linux
> machines and so the application is running on windows. But the same if
> ported to linux gives me problem. I cannot downgrade my database. So can
> anybody help?
Restarted apache?
Checked that the line that loads pgsql.so in uncommented?
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------