A
A
Artem2016-06-16 10:35:13
linux
Artem, 2016-06-16 10:35:13

How to include mysql library in php7.0?

When calling the mysql_connect, mysql_query command, errors are thrown:
Call to undefined function mysql_connect()
Call to undefined function mysql_query()
It seems that the mysql library is included, but it still does not work. I don't understand why.
Costs php7.0
Mysql-client costs.
How can I install it manually?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2016-06-16
@beardedman

How to include mysql library in php7.0?

Do not turn it on, it was finally removed .
Use modern equivalents: mysqli or PDO .

M
Maxim Lumen, 2016-06-16
@Maximum_Live

not mysqlamysqli

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question