Re: pg_connect() problem with postgresql 7.3.4
| From: | S.P.Vimala | Date: | Thu, 30 Oct 2003 09:42:17 +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-31364@lists.php.net to get a copy of this message | ||
phpinfo() gives me a message of database support for postgresql
>in the dbx section but there is no seperate section for postgreSQL
Support with active persistent links etc..
I'm sure that php-pgsql is installed. The includes pgsql.so is
uncommented in the php.ini file also.
I had restarted apache and even the whole machine so may times but no
difference.
How do i check if pgsql.so is loaded or not? and any more suggestions?
-vimala/.
> > 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?
>
>