Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-21-2003, 09:07 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
Slackware Postgresql and PHP

I installed the latest postgresql on slackware and everything seems to be running fine so far. Is the PHP installed with Slackware compiled with Postgresql support or do I need to uninstall and compile PHP with Postgresql support?

Old 11-21-2003, 01:01 PM   #2
Registered: Oct 2003
Location: Missouri
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
If you are accessing your database through the Apache webserver you will have to recompile Apache and PHP.
Old 11-21-2003, 05:19 PM   #3
Registered: Nov 2003
Location: Ithaca, NY
Distribution: Mac OS X, FreeBSD, Slackware
Posts: 52

Rep: Reputation: 15
Probably won't have to recompile Apache - the DB functionality is part of PHP, which is just an Apache module/handler.

In general, a quick way to check whether PHP has been compiled with what you need is to make a PHP file that looks like this:


Load that up in a web browser, and it'll give you a (long) HTML page with just about everything you need to know about your PHP configuration.

Last edited by h3pc4t; 11-21-2003 at 05:22 PM.


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
Uninstall postgresQL and PHP vickr1z Linux - Newbie 1 09-14-2004 05:39 PM
[PHP/POSTGRESQL] Resource id #12? Elijah Programming 1 07-12-2004 03:41 AM
php/postgresql BobNz Programming 4 05-10-2004 06:18 PM
Postgresql and PHP problem peteABK Programming 7 08-03-2003 07:44 PM
Connect to PostgreSQL via PHP RedHatMN Programming 3 12-12-2002 06:03 PM

All times are GMT -5. The time now is 05:04 AM.

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