Hi @sla,
Welcome to the community and thank you for trying out Suite 8.
Also, sorry for the delay in replying, we are on a quite busy period at the moment.
Regarding the above question, Suite 8, at the moment still relies on Suite 7 for many things.
More details
just a bit of context:
For several reasons among them backwards compatibility reasons, Suite 8 still relies for a good part of the backend on the Suite 7. Suite 8 “contains” an Suite7 within it on the public/legacy
folder and it uses a concept called “Legacy Handlers” to call suite 7 for whatever it needs.
Though the only place I see we are using the mysql_connect
is in public/legacy/include/database/MysqlManager.php
. Though preferably we should be using MysqliManager
instead.
Do you have mysqli
php module installed?
More details
The code on legacy is doing the following:
public/legacy/include/database/DBManagerFactory.php
if (empty($config['db_manager'])) {
// standard types
switch ($type) {
case "mysql":
if (empty($sugar_config['mysqli_disabled']) && function_exists('mysqli_connect')) {
$my_db_manager = 'MysqliManager';
} else {
$my_db_manager = "MysqlManager";
}
break;
Finally, thank you for bringing this up.
@Mac-Rae we need to add the list of required php modules to the Suite 8 documentation - Compatibility matrix
@Matt FYI. Probably something we need to look at, though I think we need to drop support for MysqlManager
on php 8