dou91736 2010-11-23 08:59
浏览 167
已采纳

在安装过程中无法找到MediaWiki的数据库驱动程序

MYSQL and apache server are already installed on my server. But still I encountered these problem. I dont understand the terms to compile php with --with-mysql Where should i compile? i am using window server. or how to install the mysql.so module??

Checking environment...

Please include all of the lines below when reporting installation problems. PHP 5.2.14 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so module For MSSQL, compile PHP using --with-mssql_not_ready, or install the mssql_not_ready.so module For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so module For Oracle, compile PHP using --with-oci8, or install the oci8.so module

  • 写回答

3条回答 默认 最新

  • dsztc99732 2010-12-08 20:14
    关注

    Look in /php_install_dir/extensions. There should be a file named "php_mysql.dll". If so, enable it in php.ini. If not, download the dll, copy it to the extension dir and enable in php.ini. Remember to restart Apache.

    See this page for more info (make sure you read the comments).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 用verilog实现tanh函数和softplus函数
  • ¥15 求京东批量付款能替代天诚
  • ¥15 slaris 系统断电后,重新开机后一直自动重启
  • ¥15 51寻迹小车定点寻迹
  • ¥15 谁能帮我看看这拒稿理由啥意思啊阿啊
  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题