User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 425,986 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,632 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2135 | Replies: 0
Reply
Join Date: Dec 2004
Posts: 1
Reputation: giraffe is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
giraffe giraffe is offline Offline
Newbie Poster

Help Access PostgreSQL from PHP

  #1  
Dec 11th, 2004
Hi.

I installed postgreSQL-7.4.6, apache2 and PHP-4.3.9 on Fedora Core 2.

I wanna access postgreSQL from php, but got such an error:
Fatal error: Call to undefined function: pg_connect().

And then I try to reinstall php:
./configure --with-pgsql=[pgsql DIR]
make; make install;
cp php.ini-dist [php DIR]

set extensions directory and extension point to pgsql.so
extension_dir = php/extensions/
extesion = pgsql.so

But I still failed to remove Fatal error.

are there any suggestions?

Thank you very much.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 11:44 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC