LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 03-08-2004, 01:12 AM   #1
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123
Thanked: 0
php postgres problem


[Log in to get rid of this advertisement]
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
Xing is offline     Reply With Quote
Old 03-08-2004, 01:56 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :}
Posts: 18,850
Blog Entries: 1
Thanked: 160
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
Tinkster is offline     Reply With Quote
Old 03-08-2004, 02:22 AM   #3
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123
Thanked: 0

Original Poster
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
Xing is offline     Reply With Quote
Old 03-08-2004, 01:22 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :}
Posts: 18,850
Blog Entries: 1
Thanked: 160
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
Tinkster is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:29 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration