Activar MYSQLi en Host Linux

  • Autor Autor GuillermoRomero
  • Fecha de inicio Fecha de inicio
G

GuillermoRomero

Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola Amigos,

En este momento cuento con un servidor nuevo vps reseller, y he querido mover uno de mis sitios web a mi nuevo servidor por medio del Plugin WP Duplicator que opera para hacer backups en Wordpress.

De esa manera cuando lo voy instalar me presenta un problema como lo pueden ver en la imagen de abajo

problemas con mysqli.webp

Quiero preguntar si alguien me puede indicar como activar la extensión MySQLi

Mil Gracias y quedo atento a sus comentarios

Bendiciones a todos!!!
 
¿Te sirvió? Únete a la conversación

Con tu cuenta gratis puedes responder, escribirle al autor por mensaje privado y comprar con Saldo retenido: el pago se libera cuando recibes lo acordado.

Toma 30 segundos · vuelves a este tema al terminar
Recompilando Apache es una opcion y la mas simple. Eso si tienes acceso root al servidor podrias realizarlo sin problema alguno. Saludos!
 
Pero si es por ejemplo un VPS CentOS puedes instalar la extensión:

Insertar CODE, HTML o PHP:
[COLOR=#000000][FONT=Consolas]yum inst[/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas][/FONT][/COLOR][COLOR=#000000][FONT=Consolas]all [/FONT][/COLOR][COLOR=#000000][FONT=Consolas]php[/FONT][/COLOR][COLOR=#000000][FONT=Consolas]-[/FONT][/COLOR][COLOR=#000000][FONT=Consolas]pdo[/FONT][/COLOR][COLOR=#000000][FONT=Consolas] php[/FONT][/COLOR][COLOR=#000000][FONT=Consolas]-[/FONT][/COLOR][COLOR=#000000][FONT=Consolas]mysqli[/FONT][/COLOR]

Si es una distro debia o ubuntu usa apt-get

Insertar CODE, HTML o PHP:
sudo apt-get install php5-mysql
 
Edita el archivo de configuración de PHP que generalmente se encuentra en /etc/php/php.ini y descomenta la siguiente línea:

Insertar CODE, HTML o PHP:
extension=mysqli.so
 
Última edición:
Atrás
Arriba