embj Posted May 31, 2003 Share Posted May 31, 2003 I am new to PostGre and would like to setup phpBB on it but, whenever I try to connect it says, \"The PHP configuration on your server doesn\'t support the database type that you chose.\" How can I make it so PostGre woud work with PHP? Thanks! Quote Link to comment Share on other sites More sharing options...
gizmola Posted May 31, 2003 Share Posted May 31, 2003 It sounds like postgresql support was not installed with your current version of php. create a file called: phpinf.php which contains this: [php:1:169120ff86]<?php phpinfo(); ?>[/php:1:169120ff86] Point your browser to this file and examine the information it returns. I expect that this will provide verification that you will need to update your php installation to include postgresql support. Quote Link to comment Share on other sites More sharing options...
gizmola Posted May 31, 2003 Share Posted May 31, 2003 There should be a pgsql section, btw. Quote Link to comment Share on other sites More sharing options...
embj Posted May 31, 2003 Author Share Posted May 31, 2003 No, there isn\'t anything about PostGre. There is just something about odbc and mysql. Quote Link to comment Share on other sites More sharing options...
embj Posted June 2, 2003 Author Share Posted June 2, 2003 Bump. Quote Link to comment Share on other sites More sharing options...
gizmola Posted June 3, 2003 Share Posted June 3, 2003 You need to install postgresql on your box, and then recompile/configure php so it supports that. Details should be on the postgresql and php.net sites. Quote Link to comment Share on other sites More sharing options...
embj Posted June 3, 2003 Author Share Posted June 3, 2003 Well, I looked on postgresql.com, php.net, and I have done a Google on it and have found nothing about configuring it in php.ini. Would anybody be kind enough to find a link for me? Thanks. Quote Link to comment Share on other sites More sharing options...
kcsat Posted April 13, 2006 Share Posted April 13, 2006 I also couldn’t find any info to help me configure PHP to use postgre, I also tried to use MYSQL in a previous installation but my server was crashing constantly. Any help would be appreciated. My phpinf.php file is lacking the postgre area as stated above, that’s good to know but I have no idea how to fix it. Thanks, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.