“Chamada para função indefinida mysql_connect ()” Respostas de código

Chamada para função indefinida mysql_connect ()

Try checking to see if the PHP MySQL extension module is being loaded:

<?php
    phpinfo();
?>

If it's not there, add the following to the php.ini file:

extension=php_mysql.dll

Save and Restart You Apache HTTP Server
Ankur

Erro não capturado: ligue para o banco de dados de função indefinido mysqli_connect ()

sudo apt install php-mysqli
Friendly Hawk

Chamada para função indefinida mysql_connect ()

In case, you are using PHP7 already, the formerly deprecated functions
mysql_* were removed entirely, so you should update your code using the
PDO-functions or mysqli_* functions instead.

If that's not possible, as a workaround, rubo77 created a small PHP include
file, that recreates the old mysql_* functions with mysqli_*()-functions:
https://github.com/rubo77/php-mysql-fix
Breyn

Respostas semelhantes a “Chamada para função indefinida mysql_connect ()”

Perguntas semelhantes a “Chamada para função indefinida mysql_connect ()”

Mais respostas relacionadas para “Chamada para função indefinida mysql_connect ()” em PHP

Procure respostas de código populares por idioma

Procurar outros idiomas de código