Jump to content

Recommended Posts

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 by TheTechLounge
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated