Moodle Migartion Server Ubuntu 18.04

Moodle Migartion Server Ubuntu 18.04

by RAFAEL UZCATEGUI -
Number of replies: 0

Hello friends colleagues,I want to see if you can help me.Estomy migrate my moodle to another server to have a test one.

Servidor
Linux Ubuntu 18.04
PHP 7.4
MYSQL 5.7
Apache 2.4.48


Error Moodle
Native unknown driver / mysqli


$php -m |grep mysql*
mysqli
mysqlnd
pdo_mysql


Prueba.php
Make a test with a php file putting the following code and everything is fine
<?php
$enlace = mysqli_connect("localhost", "username", "123456", "bdprueba");
/* comprobar la conexión */
if (mysqli_connect_errno()) {
printf("Conexión fallida: %s\n", mysqli_connect_error());
exit();
}
/* comprobar si el servidor sigue funcionando */
if (mysqli_ping($enlace)) {
printf ("¡La conexión está bien!\n");
} else {
printf ("Error: %s\n", mysqli_error($enlace));
}
/* cerrar la conexión */
mysqli_close($enlace);
?>


Output
¡La conexión está bien!


The production server is the same


Can you help me, please

Thanks

Average of ratings: -