安装phpmyadmin时提示无法加载mysql扩展,配置文件都做好了。
我用的是php5.3.3 

解决方案 »

  1.   

    说说你是怎么配置的
    用phpinfo() 看下 Loaded Configuration File  这一项与你修改的php.ini文件是否相同
      

  2.   

    Loaded Configuration File  D:\WebsiteWorld\php5\php.ini 
    httpd.conf :
    LoadModule php5_module "D:/WebsiteWorld/php5/php5apache2_2.dll"
    AddType application/x-httpd-php .php
    PHPIniDir "D:/WebsiteWorld/php5"
    php.ini :
    extension_dir = "D:/WebsiteWorld/php5/ext/"
    extension=php_mysql.dll
    extension=php_mysqli.dll
    extension=php_mbstring.dll(这个我自己觉得好像不相关)
    再就是添了path环境变量,mysql和php都可以在dos下使用
      

  3.   

    你修改的ini文件是不是 D:\WebsiteWorld\php5\php.ini  这一个
      

  4.   

    补充下,我没有拷php.ini到windows里
      

  5.   

    检查Apache的错误日志里面是什么信息
      

  6.   

    我对这个不是很懂,能不能报我看一下啊httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.82.203.179 for ServerName[Thu Oct 07 10:49:00 2010] [notice] Child 252: Child process is running[Thu Oct 07 10:49:01 2010] [notice] Child 252: Acquired the start mutex.[Thu Oct 07 10:49:01 2010] [notice] Child 252: Starting 64 worker threads.[Thu Oct 07 10:49:01 2010] [notice] Child 2372: Released the start mutex[Thu Oct 07 10:49:02 2010] [notice] Child 252: Starting thread to listen on port 80.[Thu Oct 07 10:49:14 2010] [notice] Child 2372: All worker threads have exited.[Thu Oct 07 10:49:14 2010] [notice] Child 2372: Child process is exiting[Thu Oct 07 10:50:13 2010] [error] [client 127.0.0.1] PHP Warning:  mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in D:\\WebsiteWorld\\www\\test.php on line 2, referer: http://127.0.0.1/[Thu Oct 07 11:18:30 2010] [error] [client 127.0.0.1] PHP Warning:  mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in D:\\WebsiteWorld\\www\\test.php on line 2, referer: http://127.0.0.1/[Thu Oct 07 11:18:31 2010] [error] [client 127.0.0.1] PHP Warning:  mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in D:\\WebsiteWorld\\www\\test.php on line 2, referer: http://127.0.0.1/
      

  7.   

    这个错误信息显示不是mysql扩展加载没有成功,而是你的root用户没有访问mysql数据库的权限。
    用户名/密码正确吗?