•
•
•
•
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
![]() |
•
•
Join Date: Dec 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Access your Outlook application using PHP? (PHP)
- access mssql using php (PHP)
- How do I access a PostgreSQL DB? (JSP)
- Disable PHP in specified folder? (PHP)
- Please school me in PHP script installation. (MySQL)
- php help needed for login (PHP)
Other Threads in the PHP Forum
- Previous Thread: Need help with php
- Next Thread: Help ! I need help starting up on Php !


Linear Mode