LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache PHP Postgres works but not together... (https://www.linuxquestions.org/questions/linux-software-2/apache-php-postgres-works-but-not-together-371994/)

PeO 10-11-2005 02:54 PM

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

ralvez 10-12-2005 08:01 AM

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.


All times are GMT -5. The time now is 08:01 PM.