Home  >  Article  >  Backend Development  >  There is already a mysqli extension in phpinfo, but it still cannot be used and reports mysqli not found. How to solve it?

There is already a mysqli extension in phpinfo, but it still cannot be used and reports mysqli not found. How to solve it?

WBOY
WBOYOriginal
2016-09-06 08:42:591221browse

phpinfo has displayed the relevant expansion information of mysqli
There is already a mysqli extension in phpinfo, but it still cannot be used and reports mysqli not found. How to solve it?
But when executing php xxx.php from the command line, it still reports mysqli not found
There is already a mysqli extension in phpinfo, but it still cannot be used and reports mysqli not found. How to solve it?

video_order.php code:
There is already a mysqli extension in phpinfo, but it still cannot be used and reports mysqli not found. How to solve it?

video_order.php is a script file, so I want to test it on the command line. How to solve it? Waiting online

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn