PHP CLI error on MAC
Posted: Wed Oct 01, 2014 8:15 am
Looking through the forums I see many PHP CLI errors but they are all a bit different.
I have a freshly installed timetrex community edition version 7.7.4 on a freshly installed mac osx server version 10.9.5. I get error:
Warning: PHP CLI requirements failed while executing
""/usr/bin/php" "/Applications/TimeTrex/timetrex//tools/unattended_upgrade.php" --config "/Applications/TimeTrex/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.
I have run it at the command line and get error: no such file or directory exists.
I know the file timetrex.ini.php exists only in one place. The directory:
/Applications/TimeTrex/timetrex
So should I just copy it somewhere else??? If so what is that full path?
I am also getting error:
PHP CLI Requirements Output:
Failed Requirements: Require,GETTEXT
Not writable: /Applications/TimeTrex/timetrex/classes/modules/install/../../../classes/modules/install/launch_timetrex_login.app/launch_timetrex_login.app
That file exists but again it looks like it does not exist in that location. It is in the location:
/Applications/Timetrex/timetrex
Attached are the screenshots and php output.
I have a freshly installed timetrex community edition version 7.7.4 on a freshly installed mac osx server version 10.9.5. I get error:
Warning: PHP CLI requirements failed while executing
""/usr/bin/php" "/Applications/TimeTrex/timetrex//tools/unattended_upgrade.php" --config "/Applications/TimeTrex/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer"
Likely caused by having two PHP.INI files with different settings.
I have run it at the command line and get error: no such file or directory exists.
I know the file timetrex.ini.php exists only in one place. The directory:
/Applications/TimeTrex/timetrex
So should I just copy it somewhere else??? If so what is that full path?
I am also getting error:
PHP CLI Requirements Output:
Failed Requirements: Require,GETTEXT
Not writable: /Applications/TimeTrex/timetrex/classes/modules/install/../../../classes/modules/install/launch_timetrex_login.app/launch_timetrex_login.app
That file exists but again it looks like it does not exist in that location. It is in the location:
/Applications/Timetrex/timetrex
Attached are the screenshots and php output.