2 errors, PHP CLI requirements failed, and another.

Ask your questions regarding TimeTrex installation here.
Post Reply
rev667
Posts: 1
Joined: Mon Jun 16, 2014 5:55 am

2 errors, PHP CLI requirements failed, and another.

Post by rev667 »

Hi,

I have been trying to get past the requirements screen and install TimeTrex on my server as a test.

However I am getting the following errors :-

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

And...

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

The first error is very confusing, there is only one php.ini file on the server. I have read some of the other posts regarding this type of error, but I can't seem to fix it.

The other error is confusing because the permissions are 777 on that directory. wth?

I have created a database (mysql) and a user (timetrex)
My server is a little odd, it runs a version of Archlinux

Any help or ideas would be welcome.

Rev
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: 2 errors, PHP CLI requirements failed, and another.

Post by shaunw »

Both issues are likely caused by the same thing, a permission problem, likely related to SELinux being enabled.

Try disabling SELinux and see if that helps, if it does, you could enable it again and try running the following command as root to enable your web server to write to other directories:

Code: Select all

chcon -t httpd_sys_content_t storage
Post Reply