Not picking up PostgreSQL DB
-
klaith
Not picking up PostgreSQL DB
Just installed 0.9 into vanilla XP Apache2 php5 postgresql environment and the installation page tells me I have SQLite (and only SQLite) database extension available. I actually have postgreSQL 8.0 and no SQLite. How do I get it to pick up the fact that I postgreSQL installed
Re: Not picking up PostgreSQL DB
Is the pgsql-Module from PHP active? (Have a look in php.ini)klaith wrote:Just installed 0.9 into vanilla XP Apache2 php5 postgresql environment and the installation page tells me I have SQLite (and only SQLite) database extension available. I actually have postgreSQL 8.0 and no SQLite. How do I get it to pick up the fact that I postgreSQL installed
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Not picking up PostgreSQL DB
PHP5 always contains SQLite bundled.
If s9y doesn't show you pgsql as an option it means your PHP modules does NOT have the postgresql installation compiled and active. Check your phpinfo() script output for more details - I'm quite sure it doesn't list postgresql support.
On Windows PHP installations I think it's a bit harder to get pgsql working as it's not linked by default.
Regards,
Garvin
If s9y doesn't show you pgsql as an option it means your PHP modules does NOT have the postgresql installation compiled and active. Check your phpinfo() script output for more details - I'm quite sure it doesn't list postgresql support.
On Windows PHP installations I think it's a bit harder to get pgsql working as it's not linked by default.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
klaith
Not picking up PostgreSQL DB
Thanks Guys,
After doing a bit of reading I realised the culprit was probably that the standard php5 binary for windows http://www.php.net/get/php-5.0.5-Win32. ... m/a/mirror was compiled without postgresql support. I am downloading apache2triad http://apache2triad.net/ which includes php5 and postgresql8 and I'll install it and let you know if that solves the problem (although I am really starting to ask myself why I didn't just download the source and recompile PHP5
)
After doing a bit of reading I realised the culprit was probably that the standard php5 binary for windows http://www.php.net/get/php-5.0.5-Win32. ... m/a/mirror was compiled without postgresql support. I am downloading apache2triad http://apache2triad.net/ which includes php5 and postgresql8 and I'll install it and let you know if that solves the problem (although I am really starting to ask myself why I didn't just download the source and recompile PHP5