Jump to content
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Ola Pessoal, tem um cliente meu dizendo que no server não esta instalado o mysqli em sua vps.

alguém poderia me dar uma ajuda de como verificar isso?

no phphinfo, realmente não existe ele, mas não tenho noção de como instalar.

Abraços


Ele tem cPanel? Se tiver, não sei se pode instalar por fora, contudo, é assim que se instala:


yum install mysql-server mysql php-mysql -y


  • Author

Sim tem cpanel e o mysql esta rodando. sera que vou ter problemas, bom vou tentar e posto aqui.


  • Author

segue o resultado.

root@srv01 [~]# yum install mysql-server mysql php-mysql -y

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* epel: mirror.cogentco.com

Setting up Install Process

No package mysql-server available.

* Maybe you meant: MySQL-server

No package mysql available.

No package php-mysql available.

Error: Nothing to do

root@srv01 [~]#


Faça o seguinte:


service cpanel stop

vi /etc/yum.conf

retire a linha "exclude="

Então repita os comandos acima e inicie o cPanel novamente.


  • Author

fetuei as instruções acima

segue o resultado

root@srv01 [~]# yum install mysql-server mysql php-mysql -y

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

epel/metalink | 27 kB 00:00

* epel: mirror.cogentco.com

base | 3.7 kB 00:00

centosplus | 3.5 kB 00:00

contrib | 951 B 00:00

cr | 3.0 kB 00:00

extras | 3.5 kB 00:00

updates | 3.5 kB 00:00

updates/primary_db | 692 kB 00:00

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package mysql.x86_64 0:5.1.52-1.el6_0.1 will be installed

--> Processing Dependency: mysql-libs = 5.1.52-1.el6_0.1 for package: mysql-5.1.52-1.el6_0.1.x86_64

---> Package mysql-server.x86_64 0:5.1.52-1.el6_0.1 will be installed

--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.52-1.el6_0.1.x86_64

---> Package php-mysql.x86_64 0:5.3.3-3.el6_2.5 will be installed

--> Processing Dependency: php-common = 5.3.3-3.el6_2.5 for package: php-mysql-5.3.3-3.el6_2.5.x86_64

--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-3.el6_2.5.x86_64

--> Running transaction check

---> Package mysql-libs.x86_64 0:5.1.52-1.el6_0.1 will be installed

---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed

---> Package php-common.x86_64 0:5.3.3-3.el6_2.5 will be installed

---> Package php-pdo.x86_64 0:5.3.3-3.el6_2.5 will be installed

--> Processing Conflict: mysql-server-5.1.52-1.el6_0.1.x86_64 conflicts MySQL-server

--> Processing Conflict: mysql-5.1.52-1.el6_0.1.x86_64 conflicts MySQL

--> Finished Dependency Resolution

Error: mysql conflicts with MySQL-server

Error: mysql-server conflicts with MySQL-server

You could try using --skip-broken to work around the problem

** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:

bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)

bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)

bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)

exim-4.77-1.x86_64 has missing requires of perl(SafeFile)

frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0


O MySQL está instalado, só dê então um "yum install php-mysql -y".


Rodrigo, se o cara tem cPanel, não deve fazer isso, vai modificar o sistema. Basta ir através do Easyapache, seguir os passos, e em Exhaustive list, você vai encontrara a opção de Mysqli, então, basta marcar e aguardar o rebuild.


Rodrigo, se o cara tem cPanel, não deve fazer isso, vai modificar o sistema. Basta ir através do Easyapache, seguir os passos, e em Exhaustive list, você vai encontrara a opção de Mysqli, então, basta marcar e aguardar o rebuild.

Não sei, não trabalho com cPanel :P.


  • Author

Grande Jordan. Obrigado mais uma vez.. ja consegui resolver.

Abraços


Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Do you agree with our terms?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.