TheTechLounge Posted January 3, 2017 Share Posted January 3, 2017 (edited) When trying to set the default PHP version to 7.0 I get HTTP 500. Changing it back to PHP 5.6 resolves the issue. Log shows Fatal error: Uncaught Error: Class 'PDO' not found in /home/ttl/public_html/whmcs/vendor/illuminate/database/Capsule/Manager.php:49 Stack trace: #0 /home/ttl/public_html/whmcs/vendor/illuminate/database/Capsule/Manager.php(37): Illuminate\Database\Capsule\Manager->setupDefaultConfiguration() #1 /home/ttl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Database.php(0): Illuminate\Database\Capsule\Manager->__construct() #2 /home/ttl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Database.php(0): WHMCS\Database->capsuleFactory() #3 /home/ttl/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Utility/Bootstrap/Application.php(0): WHMCS\Database->__construct(Object(WHMCS\Config\Application)) #4 /home/ttl/public_html/whmcs/vendor/illuminate/container/Container.php(731): WHMCS\Utility\Bootstrap\Application::WHMCS\Utility\Bootstrap\{closure}(Object(WHMCS\Container), Array) #5 /home/ttl/public_html/whmcs/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(Object(Closure), Array) #6 /home in /home/ttl/public_html/whmcs/vendor/illuminate/database/Capsule/Manager.php on line 49 Ran EA4 and installed PDO for 7 & 7.1 now get can not connect to database error when trying to use PHP 7 Edited January 3, 2017 by TheTechLounge 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.