LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-21-2003, 09:07 AM   #1
squirreldogger
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?

Thanks
 
Old 11-21-2003, 01:01 PM   #2
mcleprechaun
Member
 
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
h3pc4t
Member
 
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:

<?php
phpinfo();
?>

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.
 
  


Reply


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 11:15 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration