The story goes like this:
- I have Zend server CE PHP5.3 with all the modules available enabled running on Debian Etch.
- I decided to upgrade Debian Etch to Lenny, then also upgraded PostgreSQL 8.1 to 8.3
- Restored the database
mydatabase
--> $ psqlmydatabase
< schema_and_data.sql - Checked the web site that connects to a postgreSQL database and got this error.
- Error: Failed to connect to database.
- So I manually login to postgreSQL -> postgres@devserver:/$ psql mydatabase
- Obviously postgreSQL is fine with
mydatabase
as my database - I checked phpinfo and PostgreSQL(libpq) Version : 8.1.1 (which was the previous version instead of the new 8.3)
I'm stuck at #6 at the moment. Aside from doing the following that I think would fix it back to 'working condition':
- Also downgrading postgreSQL 8.3 to 8.1 is not allowed as postgresSQL 8.1 is not supported on Lenny.
- Setup my Debian box back to Etch and install zend/postgreSQL 8.1.
Any idea how to re-configure php-5.3-pgsql-zend on Lenny to recognize the new 8.3 version? Thanks!