7.14.3 fresh install on DigitalOcean Database unavailable Database Support was not found

I’m installing 7.14.3 on a DigitalOcean Unbuntu 22.04 droplet. I’ve verified that MySQL is up and running and - as best as I can tell - I have the extensions in php.ini set to readable. I’m not sure where to find an error log to give a better sense of where SuiteCRM is running into issues. Any help is greatly appreciated. Running php7.4 and MySQL 8.0

Hi, welcome to the Community! :tada:

I would recommend double-checking the modules are installed and active, meaning that your php.ini changes were effective.

You can go to Admin / Diagnostics and get a phpinfo from there.

If that is not available, then place a file at your root directory called phpinfo.php with these contents:

<?php
echo phpinfo();
?>

And navigate to www.yoursite.com/phpinfo.php

Check that the modules show as active. Check that the php.ini path is the one you’ve been changing.

Also, check if you have all php required libraries.

@rsp and @pgr - Thanks so much for your direction and help. I eventually got there and wouldn’t have been able to without your help. Here’s what I did.

Installed PHP 8.2:

sudo apt update
sudo apt install php8.2 -y
sudo apachectl restart

Then I needed to disable php7.4:

sudo a2dismod php7.4

and enable php 8.2

sudo a2enmod php8.2

Restart apache:

sudo service apache2 restart

Then install MySQL

sudo apt-get install php8.2-mysql

and enable it:

sudo phpenmod pdo_mysql

I’m in business. Thanks for all of the help.

2 Likes