LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-08-2004, 12:12 AM   #1
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
php postgres problem


i am developing a web based application on slack and slack has php already installed on it.. but not with postgres support.. so i downloaded the php4 package and configured with

./configure --with-pgsql

option (because this is what most of the documentation suggested)..

but postgres is still not working with php and i checked in phpinfo() but i could not find --with-pgsql there.. this means that php did not get configured with pgsql..

now is that because php was already installed on the system and i needed to remove the old distribution and install php --with-pgsql again??

what is the methodology to make php postgres compatible in my case??

pls help!!

regards
 
Old 03-08-2004, 12:56 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Yep ... you'll need to
removepkg <slacks-php>
and install yours again ... I assume that
you did more than the ./configure step, though?



Cheers,
Tink
 
Old 03-08-2004, 01:22 AM   #3
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Original Poster
Rep: Reputation: 15
thanks tink... yes i did do make and make install as well .. i m not very sure what else i need to do because there is not much documentation available for pgsql and php.. even the books are so few !! do you want to suggest something else or any particular knowledge source for configuration of php with pgsql..

regards
Xing
 
Old 03-08-2004, 12:22 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, if
Code:
./configure --with-pgsql
went smooth (no complaints about missing
libraries or headers) it should be all fine I'd
tink :}


Cheers,
Tink
 
  


Reply



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
Postgres Login Problem aarajthomas Linux - Security 3 12-08-2005 08:00 AM
Apache PHP Postgres works but not together... PeO Linux - Software 1 10-12-2005 08:01 AM
unable to connect to postgres from php jkmartha Linux - Software 1 07-04-2005 02:51 AM
php postgres connecting needed help vickr1z Linux - Newbie 2 11-11-2004 03:13 AM
Postgres installation initdb problem bruce64 Linux - Software 3 10-16-2003 01:55 PM

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

All times are GMT -5. The time now is 12:03 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