经过长达一整天的努力学习,终于渐渐的把iis 7.0里有php扩展都加上了, 把C:\Windwos里的php.ini文件修改好了,具体内容:extension=php_gd2.dll,extension=php_mcrypt.dll,extension=php_mysql.dll,extension=php_pdo_mysql.dll前面的";"号去掉了;
extension_dir = "D:/php5/ext"(跟电脑-〉属性-〉环境变量-〉PATH添加的"D:\php5;D:\php5\ext;D:\lib;D:\lib\Optimizer-3.3.0\php-5.2.x;" 保持了一致性)
session.save_path = "D:/php5/tmp";
把phpMyAdmin文件夹放到了C:\inetpub\wwwroot里;
把libraries\config.default.php文件里的内容进行了相应的修改cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/'
$cfg['Servers'][$i]['host'] = 'localhost'
$cfg['Servers'][$i]['auth_type'] = 'cookie'
$cfg['blowfish_secret'] = '123'
$cfg['Servers'][$i]['user'] = 'root'
$cfg['Servers'][$i]['password'] = '123'
$cfg['DefaultLang'] = 'gb2312'
$cfg['Servers'][$i]['port'] = '3307' (mysql安装的时候选择的3307)
,然后C:\windows\system32里已经粘帖了libmcrypt.dll;
这些该做的我都做好了,为什么还是有错误发生呢?
错误如下:
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation
请各位前辈救救我吧~~~~~ |