3

我已经在 Windows XP 中安装了带有 PHP 版本 5.4.4 的 xammp。我已经添加了所有 DLL 文件并在 php.ini 文件中进行了配置。仍然我得到'无法加载动态库'php_mssql.dll' - 找不到指定的模块。'。

请告诉我可能是什么问题。提前致谢

4

1 回答 1

3

This is a configuration issue. Go through the following checklist:

  • Check the value of extension_dir in php.ini. Try adding a full path to it like extension_dir = "C:/PHP/ext/".
  • Run phpinfo() to see if the correct php.ini file is being loaded. If you can't seem to get it to load the right file add the environment variable PHPRC and set it to your PHP path (be sure to restart the server/system so that the environment variable comes into effect).
  • This may not be your case but check if the ext directory has enough permissions for the user context under which PHP will access files.
于 2012-12-04T13:05:57.897 回答