API Failure When Switching PHP Version
I am trying to switch to PHP 7.2 and when I try either 7.1 or 7.2 it say the following:
API failure: Can't call method "get_default_string" on an undefined value at /usr/local/cpanel/Cpanel/WebServer/Supported/apache.pm line 345.
I am able to use the other PHP versions fine, it is only happening with 7.1 and 7.2
-
Problem solved, thanks Michael. :) 0 -
Hello @Evil, You're very welcome. For anyone else browsing this thread, the issue stemmed from the installation of an unsupported RPM from the OS (mod_php71). Removing that RPM and reinstalling the ea-php71 package solved the issue. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments