LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2005, 02:54 PM   #1
PeO
Member
 
Registered: Nov 2002
Location: Karlsborg/Sweden
Distribution: Slackware 13.1, Mint, Ubuntu, Linux since ~1998
Posts: 57

Rep: Reputation: 15
Apache PHP Postgres works but not together...


Running Slackware...
I have installed Apache 1.3.31 it works well....
I have installed PHP 4.3.7 it vorks well....
I have installed postgreSQL 8.0.0 and it works well too....

I have a domain pointing to my apacheserver....
I have tested php-pages it work exelent....
I have created a small test database and I can run it with psql without problem....

When I try to log in from a php-page it cant connect the db?!?

I have no idea where to start look, can't php reach the db or is it false host,user,passwd?!?
How can I test or What shall I look for in the conf-files??
Shall I look in apache, php or postgres conf??

Everything written at internet is how to install all packages...
tnx for all help PeO
 
Old 10-12-2005, 08:01 AM   #2
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
I've never worked with postgee (only MySQL) but ... I would start by looking a t /var/log/apache/httpd.error
( I think) to see what you can spot. If the connections to the database through apache failed it should tell you something.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to postgres from php jkmartha Linux - Software 1 07-04-2005 02:51 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
php postgres connecting needed help vickr1z Linux - Newbie 2 11-11-2004 03:13 AM
php postgres problem Xing Linux - Software 3 03-08-2004 12:22 PM
How Apache works with PHP/MySQL/whatever... SammyK Linux - Software 2 08-28-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration