attempts to install on CentOS release 5.11 fail

Ask your questions regarding TimeTrex installation here.
Post Reply
gunterzielke
Posts: 3
Joined: Sat Aug 15, 2015 11:21 pm

attempts to install on CentOS release 5.11 fail

Post 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
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: attempts to install on CentOS release 5.11 fail

Post by shaunw »

Its either the wrong PHP.ini file is being used, or the SOAP extension (and a few others) are not actually enabled.
roddydairion
Posts: 5
Joined: Mon Sep 14, 2015 7:14 am

Re: attempts to install on CentOS release 5.11 fail

Post 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.
Post Reply