How to fix ‘sudo: no tty present and no askpass program specified‘ ?
SSH > Linux / Ubuntu / CentOS
Solution: sudo -S <cmd>
The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal.
WHMCS ISSUE: The OPcache PHP extension is enabled. This extension can cause problems with cached data use and PHP script execution in WHMCS. We recommend disabling OPcache.
Solution :
- Openup your WHMCS configuration.php
- add this line inside that file >> ini_set(‘opcache.enable’, ‘0’);