Page 1 of 1

attempts to install on CentOS release 5.11 fail

Posted: Sat Sep 05, 2015 1:34 am
by gunterzielke
After successful installation on a local ubuntu I now tried to install on a net-connected server running CentOS release 5.11. (TimeTrex Version:v8.0.9, PHP Version:v5.3.29)
I first ran into missing SOAP and magic quotes being on. I handled that by adding soap and turning off the magic quotes in a .htaccess file.
I am now ending up with the php cli problem:
===========================
Warning: PHP CLI requirements failed while executing
"/usr/bin/php" "/home/admin/domains/kwqq.com/public_html/timetrex/tools/unattended_upgrade.php" --config "/home/admin/domains/kwqq.com/public_html/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer
Likely caused by having two PHP.INI files with different settings.
====with the following details:====
Detailed Error Messages

PHP CLI Requirements Output:
----WARNING----WARNING----WARNING-----
--------------------------------------
Minimum PHP Requirements are NOT met!!
--------------------------------------
Failed Requirements: DatabaseType,SOAP,BCMATH,MBSTRING,GD,JSON,ZIP,PHPMagicQuotesGPC
--------------------------------------
PHP INI: /etc/php.ini
Process Owner: apache
--------------------------------------
Failed Requirements: Require,DatabaseType,SOAP,BCMATH,MBSTRING,GD,JSON,ZIP,PHPMagicQuotesGPC
Your TimeTrex configuration file (timetrex.ini.php) is located at:
/home/admin/domains/kwqq.com/public_html/timetrex/includes/../timetrex.ini.php
Your PHP configuration file (php.ini) is located at:
/usr/local/lib/php.ini, the include path is: ""
===================================
both the cli as the apache module appear to be using the same php.ini at /usr/local/lib even though in the details to the error it says PHP INI: /etc/php.ini - but to rule this out I brutally copied the php.ini file in /usr/local/lib to /etc and that made no difference.
I am now running out of ideas - could you help?
Thanks,
Gunter

Re: attempts to install on CentOS release 5.11 fail

Posted: Mon Sep 07, 2015 12:37 pm
by shaunw
Its either the wrong PHP.ini file is being used, or the SOAP extension (and a few others) are not actually enabled.

Re: attempts to install on CentOS release 5.11 fail

Posted: Mon Sep 14, 2015 7:36 am
by roddydairion
I fixed mine by installing the required folder
/tmp/timetrex
/var/timetrex/storage
/var/log/timetrex

Make sure they are writable as well.