PHP Cli Requirement Issue
Posted: Wed Dec 21, 2022 9:23 am
Any ideas on how I can fix the following issue?
PHP CLI requirements failed while executing:
"/usr/bin/php" "/home/timetrex/tools/unattended_upgrade.php" --config "/home/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer
Likely caused by having two PHP.INI files with different settings.Detailed Error Messages
PHP CLI Requirements Output:
Access-Control-Allow-Origin: http://localhost
Access-Control-Allow-Headers: Content-Type, REQUEST_URI_FRAGMENT
Content-type: text/html; charset=UTF-8
This script can only be called from the Command Line. (cgi-fcgi)
I know there is the timtrex.ini.php and /opt/cpanel/ea-php81/root/etc/php.ini as part of my shared hosting. Thoughts?
PHP CLI requirements failed while executing:
"/usr/bin/php" "/home/timetrex/tools/unattended_upgrade.php" --config "/home/timetrex/includes/../timetrex.ini.php" --requirements_only --web_installer
Likely caused by having two PHP.INI files with different settings.Detailed Error Messages
PHP CLI Requirements Output:
Access-Control-Allow-Origin: http://localhost
Access-Control-Allow-Headers: Content-Type, REQUEST_URI_FRAGMENT
Content-type: text/html; charset=UTF-8
This script can only be called from the Command Line. (cgi-fcgi)
I know there is the timtrex.ini.php and /opt/cpanel/ea-php81/root/etc/php.ini as part of my shared hosting. Thoughts?