问题描述
尝试运行搜索和替换,但出现错误。我正在使用 xampp,我所做的一切都是本地的。
Call to undefined function MysqL_connect() in E:\xampp\htdocs\test\wp-includes\wp-db.PHP:1688
我检查了我的 WP 文件,并在其中引用了 MysqLi_connect 和 msql_connect。我试图替换对 MysqLi_connect 的所有 MysqL_connect 引用,但是然后我得到新名称的相同错误
Call to undefined function MysqLi_connect() in E:\xampp\htdocs\test\wp-includes\wp-db.PHP:1688
当我运行 wp --info 我得到:
OS: Windows NT 10.0 build 18363 (Windows 10) AMD64
Shell: C:\Windows\system32\cmd.exe
PHP binary: C:\PHP7\PHP.exe
PHP version: 7.4.9
PHP.ini used: C:\PHP7\PHP.ini
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: E:\xampp\htdocs\test
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.4.0
我试过了:
发生这种情况的原因是什么? *
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)