LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-15-2005, 07:29 AM   #1
xrado
Member
 
Registered: Dec 2004
Distribution: Zenwalk/Slackware
Posts: 98

Rep: Reputation: 15
php extension for postgresql


where can i get php extension for postgresql?
 
Old 11-15-2005, 11:56 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Maybe from PHP? http://ar.php.net/pgsql

Acording to that documentation, you'll need to recompile php with support for postgresql. First install PostgreSQL and then recompile PHP with the option stated there.
To recompile PHP (if you're not used to compile stuff) grab all the files here (including the pear subdirectory): http://mirror.switch.ch/ftp/mirror/s.../source/n/php/
After you have them put it in a directory with a subdirectory pear with the files that should be there. Then edit php.SlackBuild file adding the option (there are options in that file, you'll know where to put it) and finally run it: sh php.SlackBuild
If all goes fine, it will recompile PHP and leave the new package under /tmp.

Last edited by gbonvehi; 11-16-2005 at 12:03 AM.
 
Old 12-04-2005, 09:46 PM   #3
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Or you can do what I did here, and save tons of valuable time

Last edited by Azmeen; 12-04-2005 at 09:47 PM.
 
Old 12-06-2005, 09:31 AM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 62
Thanks Azmeen and gbonhevi for your inputs on this one. I followed Azmeen's post and that did the trick for me although I was about to with gbonhevi's suggestion...Thanks for the tips.

Tux,
 
  


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
PHP Extension for session_id tunasashimi Linux - Software 11 10-04-2005 03:46 AM
[PHP/POSTGRESQL] Resource id #12? Elijah Programming 1 07-12-2004 03:41 AM
Mysql Php Extension SilentK Linux - Newbie 11 06-11-2004 08:47 AM
php/postgresql BobNz Programming 4 05-10-2004 06:18 PM
Build PHP extension. ugenn Linux - Software 1 11-05-2003 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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