Using postgres on .zip install tp Ubuntu Server

Ask your questions regarding TimeTrex installation here.
Locked
MickG01
Posts: 144
Joined: Mon Nov 09, 2009 11:48 am

Using postgres on .zip install tp Ubuntu Server

Post by MickG01 »

I set up my ubuntu server 11.04 with LAMP then installed php-GD extensions, php-pear and postgres8. I then installed Timetrex 3.5.1 from the .zip file and changed the timetrex.ini.php to use postgres8. It still gives me the mySQL 25 user limit warning despite the mysqli line being commented out. I'm assuming it's looking in the wrong place for the postgresql database? How do I correct this to use postgresql?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Using postgres on .zip install tp Ubuntu Server

Post by shaunw »

The PHP PostgreSQL extension is not installed or activated properly, so TimeTrex won't even give you that option.

Try:

Code: Select all

apt-get install php-pgsql
MickG01
Posts: 144
Joined: Mon Nov 09, 2009 11:48 am

Re: Using postgres on .zip install tp Ubuntu Server

Post by MickG01 »

Thanks, actually php5-pgsql for anyone following this
Locked