Nimesh Piyumal Posted November 30, 2025 Share Posted November 30, 2025 I tried hard to solve this but I couldn't solve it. 0 Quote Link to comment Share on other sites More sharing options...
Solution wtools Posted December 2, 2025 Solution Share Posted December 2, 2025 Hello, It’s clear that there is an issue with your database configuration. First, try connecting to the MySQL database using the credentials provided in your configuration.php file and check whether the connection is successful. 1 Quote Link to comment Share on other sites More sharing options...
Nimesh Piyumal Posted December 3, 2025 Author Share Posted December 3, 2025 Even when WHMCS is working fine, that same error appears. 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted December 3, 2025 Share Posted December 3, 2025 I remember we had the same issue when using /opt/cpanel/ea-php81/root/usr/bin/php. It wouldn't work on one WHMCS installation but would work on others. We changed it to /usr/local/bin/ea-php81 and it started working. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted December 3, 2025 Share Posted December 3, 2025 For the record, posting your entire server path to the cron file (or any internal files, for that matter) should be avoided. 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted December 4, 2025 Share Posted December 4, 2025 You may also want to check with WHMCS, since your license isn't active: https://www.whmcs.com/members/verifydomain.php/verifydomain.php 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst III WHMCS Alex Posted Monday at 10:38 AM WHMCS Technical Analyst III Share Posted Monday at 10:38 AM Hi, I would advise checking the required extenstions/modules are present, e.g: php -m We would expect to see: PDO pdo_mysql You may also find this documentation helpful: https://docs.whmcs.com/8-13/troubleshooting/troubleshoot-the-database/could-not-connect-errors/ 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.