pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
not seeing postgres function in php/apache (newbie)
2+ messages / 1 participants
[nested] [flat]

* not seeing postgres function in php/apache (newbie)
@ 2004-02-22 08:50 twohandsfree@hotmail.com
  2004-02-22 21:16 ` Re: not seeing postgres function in php/apache (newbie) twohandsfree@hotmail.com
  0 siblings, 1 reply; 2+ messages in thread

From: twohandsfree@hotmail.com @ 2004-02-22 08:50 UTC (permalink / raw)
  To: pgsql-php

I'm setting up a system (for development) and get the following error:

Fatal error: Call to undefined function: pg_connect() in
/var/www/htdocs/test_pg.php on line 3


PHP 4.3.4 was configured with this:
./configure --with-pgsql --with-apxs --with-mysql --with-pear 
AFAIK no errors in ./configure ---> make install steps.

I would like suggestions on the things to check, or procedures to help
debug this. I'm not very experienced with Linux, Apache, PHP, or
Postgres. I just setup this system so any of the four components above
could be faulty. I went through php.ini and httpd.conf per the install
guide in the php source.

Apache serves up it's default start page, phpinfo() works, and I can
create a db with psql.

The distribution is Slackware 9.1.

Thanks in advance.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: not seeing postgres function in php/apache (newbie)
  2004-02-22 08:50 not seeing postgres function in php/apache (newbie) twohandsfree@hotmail.com
@ 2004-02-22 21:16 ` twohandsfree@hotmail.com
  0 siblings, 0 replies; 2+ messages in thread

From: twohandsfree@hotmail.com @ 2004-02-22 21:16 UTC (permalink / raw)
  To: pgsql-php

twohandsfree@hotmail.com (John) wrote in message news:<e639cb5b.0402220050.18faa58f@posting.google.com>...
> I'm setting up a system (for development) and get the following error:
> 
> Fatal error: Call to undefined function: pg_connect() in
> /var/www/htdocs/test_pg.php on line 3

Got it. I ran ./configure again. Not sure why or what happened before.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-02-22 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-22 08:50 not seeing postgres function in php/apache (newbie) twohandsfree@hotmail.com
2004-02-22 21:16 ` twohandsfree@hotmail.com

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox