PHP 5.6

Ask your questions regarding TimeTrex installation here.
Post Reply
computerisms
Posts: 3
Joined: Mon Jan 26, 2015 4:29 pm

PHP 5.6

Post by computerisms »

I have message
Checking pre-flight requirements... 1... 2... 3... 4...You are currenting using PHP v5.6.5-1 TimeTrex requires PHP v5.5.x or earlier!
5... 6... 7... 8... 9... 10... FAILED!

In this topic shaunw wrote "If you change the URL to "License.php" rather than "install.php", you should be able to continue the install process."
But when I go to to "License.php" I have Warning: PHP CLI requirements failed while executing
""/usr/bin/php" "/var/www/time.serval/tools/unattended_upgrade.php" --config "/var/www/time.serval/includes/../timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.

If I change php version in Install.class.php I donot have these errors, but i have Error with File CheckSums.

Also I tried to downgrade PHP, but unfortunately I couldn't.

Help me please.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: PHP 5.6

Post by shaunw »

TimeTrex hasn't been fully tested with PHP v5.6 yet, therefore its not supported.
MickG01
Posts: 144
Joined: Mon Nov 09, 2009 11:48 am

Re: PHP 5.6

Post by MickG01 »

I hit this issue when upgrading Ubuntu server from 14.10 to 15.04 which automatically updates PHP to 5.6.4-ubuntu6 among other things.
Startup also found a bad link trying to run pg_ctl.

The latter I got round by manually running 'sudo ctl_cluster 9.3 main start'.

Fortunately my timetrex needs are simple, just 4 hourly paid workers and the pre-installed timetrex 8.0.6 from Ubuntu 14.10 is working for me. So I will stockpile updates until it does support PHP 5.6.

Since many users do use Ubuntu upgrades like this and reverting to and earlier version of PHP is a major pain. Let's hope timetrex catches up soon.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: PHP 5.6

Post by shaunw »

Ubuntu 15.04 is still only hours old and the vast majority of our installs are on LTS operating system versions, so give it time, support for PHP 5.6 will be coming soon.
computerisms
Posts: 3
Joined: Mon Jan 26, 2015 4:29 pm

Re: PHP 5.6

Post by computerisms »

Shaunw, can you let us know when Timetrex will support PHP v5.6?

The current "stable" distribution of Debian is version 8, codenamed jessie. It was initially released as version 8 on April 25th, 2015 and its latest update, version 8.0, was released on April 25th, 2015. Jessie has Package: php5 (5.6.7+dfsg-1).

So I think it is perfect time for Timetrex to start support PHP v5.6
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: PHP 5.6

Post by shaunw »

v8.0.7 of TimeTrex due out within a week will support PHP v5.6.
computerisms
Posts: 3
Joined: Mon Jan 26, 2015 4:29 pm

Re: PHP 5.6

Post by computerisms »

shaunw wrote:v8.0.7 of TimeTrex due out within a week will support PHP v5.6.
Thank you!!!
MickG01
Posts: 144
Joined: Mon Nov 09, 2009 11:48 am

Re: PHP 5.6

Post by MickG01 »

shaunw wrote:v8.0.7 of TimeTrex due out within a week will support PHP v5.6.
Appreciated
Post Reply