Fedora Linux Support Community & Resources Center
  #1  
Old 9th December 2004, 04:04 PM
CorneLinux Offline
Registered User
 
Join Date: Apr 2004
Location: germany
Posts: 48
PHP: connect to pgsql failed

Hello,
I am a bit confused and can't get running php + pgsql.
My database is installed.
I gues I have installed all necessary rpms. (Running FC2)

I try to connect to the database
$db = DB::connect( "pgsql://userassword@unix+localhost/appliance" );

But I always get the "connect failed" error.

I guess I am blind. I can't find anything in the log files.
How can I do the logs more verbose?

Any Hints?
Regards
Cornelius
Reply With Quote
  #2  
Old 18th December 2004, 07:45 PM
tomjmalone Offline
Registered User
 
Join Date: Jul 2004
Location: Reading / United Kingdom
Age: 30
Posts: 30
Three things postgres has been started, start it in the serviceconf menu.
Secondly is php working try, a file with <?php phpinfo(); ?> in it.
Thirdly is the php-pgsql ( or something installed ).

Tom
Reply With Quote
Reply

Tags
connect, failed, pgsql, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RNDC? connect failed connection refused chetshot Servers & Networking 1 20th January 2013 04:38 PM
F11 failed to connect to VPN (pptp) denisk Servers & Networking 1 11th June 2009 08:44 PM
failed to connect stanch Hardware & Laptops 0 5th March 2006 01:50 PM
rndc connect failed: connection refused jkmartha Servers & Networking 5 21st June 2005 02:07 AM
localhost@127.0.0.1:4001 failed to connect Evert Using Fedora 0 4th July 2004 09:12 PM


Current GMT-time: 08:37 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat