Database Engine: Invalid, PGSQL or MySQLi PHP extensions are

Ask your questions regarding TimeTrex installation here.
Post Reply
wpf
Posts: 1
Joined: Fri Mar 20, 2015 2:44 pm

Database Engine: Invalid, PGSQL or MySQLi PHP extensions are

Post by wpf »

I am doing an install of TimeTrex_Corporate_Edition_v7.4.2 on top of a fresh Ubuntu 14.04. I keep getting the error:

Invalid, PGSQL or MySQLi PHP extensions are required

I also get the error:

Warning: PHP CLI requirements failed while executing
""/usr/bin/php" "/var/www/html/TimeTrex_Corporate_Edition_v7.4.2//tools/unattended_upgrade.php" --config "/var/www/html/TimeTrex_Corporate_Edition_v7.4.2/includes/../timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.

I have been trying everything I can think of. A screen shot is attached.
Attachments
Screen Shot 2015-03-20 at 7.20.25 PM.png
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Database Engine: Invalid, PGSQL or MySQLi PHP extensions

Post by shaunw »

These forums are for the Community Edition of TimeTrex, if you are installing the Corporate Edition please email support@timetrex.com and be sure to include your company name or registration key for immediate assistance.
Renrick
Posts: 4
Joined: Thu Jul 16, 2015 1:51 pm

Re: Database Engine: Invalid, PGSQL or MySQLi PHP extensions

Post by Renrick »

I am doing a new install of timetrex and I too are getting the same error as stated by this user. Since the question was not answered here but was referred to support. Can you provide me with some assistance please.

Database Engine: Invalid, PGSQL or MySQLi PHP extensions are required

GD Enabled: Warning: Not Installed. (GD extension must be enabled)

PHP CLI Requirements: Warning: PHP CLI requirements failed while executing
"/usr/bin/php" "/var/www/html/timetrex/tools/unattended_upgrade.php" --config "/var/www/html/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer
Likely caused by having two PHP.INI files with different settings.

Writable Cache Directory: Warning: Not writable (/tmp/timetrex)

Writable Storage Directory: Warning: Not writable (/var/timetrex/storage)

Writable Log Directory: Warning: Not writable (/var/log/timetrex)

Detailed Error Messages

PHP CLI Requirements Output:
----WARNING----WARNING----WARNING-----
--------------------------------------
Minimum PHP Requirements are NOT met!!
--------------------------------------
Failed Requirements: DatabaseType
--------------------------------------
PHP INI: /etc/php5/cli/php.ini
Process Owner: www-data
--------------------------------------


Failed Requirements: Require,DatabaseType,WCacheDir,WStorageDir,WLogDir

I am installing on ubuntu 14.04. version Timetrex Community Edition 8.0.9

TimeTrex Version: OK(v8.0.9)
PHP Version: OK (v5.5.9-1ubuntu4.11)


Any assistance would be appreciated.
roddydairion
Posts: 5
Joined: Mon Sep 14, 2015 7:14 am

Re: Database Engine: Invalid, PGSQL or MySQLi PHP extensions

Post by roddydairion »

I fixed mine by creating the folders
/tmp/timetrex
/var/timetrex/storage
/var/log/timetrex

It fixed it and the installation carried on.
Post Reply