LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware Postgresql and PHP (https://www.linuxquestions.org/questions/slackware-14/slackware-postgresql-and-php-118505/)

squirreldogger 11-21-2003 09:07 AM

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

mcleprechaun 11-21-2003 01:01 PM

If you are accessing your database through the Apache webserver you will have to recompile Apache and PHP.

h3pc4t 11-21-2003 05:19 PM

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.


All times are GMT -5. The time now is 03:16 AM.