亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: Your PHP installation appears to be missing the MySQL extension [打印本頁]

作者: LordYu·lee    時間: 2010-08-30 10:12
標題: Your PHP installation appears to be missing the MySQL extension
今天想用wordpress建個網站,本地打開測試,提示如下:
  1. Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
復制代碼
環(huán)境如下:
  1. uname -a
  2. Linux Lee-RHEL5 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
復制代碼
  1. php -v
  2. PHP 5.3.3 (cli) (built: Aug 27 2010 10:58:15)
  3. Copyright (c) 1997-2010 The PHP Group
  4. Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
復制代碼
  1. mysql
  2. Welcome to the MySQL monitor.  Commands end with ; or \g.
  3. Your MySQL connection id is 6
  4. Server version: 5.0.77 Source distribution
復制代碼
數(shù)據(jù)庫已經建好,
  1. mysql> show databases;
  2. +--------------------+
  3. | Database           |
  4. +--------------------+
  5. | information_schema |
  6. | mysql              |
  7. | test               |
  8. | wp_default         |
  9. +--------------------+
  10. 4 rows in set (0.00 sec)
復制代碼
wordpress版本為3.0.1,數(shù)據(jù)庫也已經配置好,
  1. // ** MySQL settings - You can get this info from your web host ** //
  2. /** The name of the database for WordPress */
  3. define('DB_NAME', 'wp_default');

  4. /** MySQL database username */
  5. define('DB_USER', '*****');

  6. /** MySQL database password */
  7. define('DB_PASSWORD', '******');

  8. /** MySQL hostname */
  9. define('DB_HOST', 'localhost');

  10. /** Database Charset to use in creating database tables. */
  11. define('DB_CHARSET', 'utf8');

  12. /** The Database Collate type. Don't change this if in doubt. */
  13. define('DB_COLLATE', '');
復制代碼
google了錯誤信息,大家大部分都是在Windows下的,有解決的也有沒解決的。不知道大家有沒有碰到過這種情況,是怎么解決的?有知道的請幫忙解決一下吧,謝謝
作者: renxiao2003    時間: 2010-08-30 15:00
沒有碰到過這樣的問題。
作者: LordYu·lee    時間: 2010-08-30 15:49
剛才想起因為php是tarball安裝的,會不會是ext位置不對引起的。于是把配置文件里的ext_dir指定到相應的位置,問題依舊。
作者: panzt    時間: 2010-09-03 11:28
應該是你的php沒有安裝mysql的擴展,可以用php -m 來查看是否安裝了mysql的擴展




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2