Page 1 of 1

2 errors, PHP CLI requirements failed, and another.

Posted: Mon Jun 16, 2014 6:05 am
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

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

Posted: Mon Jun 16, 2014 10:54 am
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