I have to rewrite PHP project, and as a person who comes from CI and Kohana frameworks I’am looking into using FuelPHP – times changes, time to try something new. Only this project requires PostgreSQL.
I’am very new to FuelPHP, so my problem explanation can be foolish :). I’ve installed pgsql PDO module, set database, etc., so everything what PHP and PostgreSQL itself requires for work is set.
Now I want to know, is it possible, to get FuelPHP work with PostgreSQL? As I understand in current 1.3v only way is PDO, but for me somehow it doesn’t work – no connection or select errors, just empty selects. I red somewhere that in 2.0v pgsql will be supported better, bet I don’t think it’s solution to use 2.0v beta release. 🙂
Currently I’am trying to understand if it will be possible to use FuelPHP for this project, because it’s a long term work – ~6 months for rewrite for one person – but after that there will be included more programmers.
It is not perfect but FuelPHP works PostgreSQL. At least you can CRUD.
See http://docs.fuelphp.com/classes/database/introduction.html
There is a example configuration for PostgreSQL
// a PDO driver configuration, using PostgreSQL