Apache无法识别PHP扩展

时间:2015-07-26 09:02:10

标签: php windows apache php-extension

在命令行上运行php -m我可以看到所有已安装的PHP扩展。但是,在phpinfo()输出中,我找不到其中的一些,例如MBSTRING。这有什么问题?我在Windows 7所有64b上使用PHP 5.6和Apache http server 2.4。

1 个答案:

答案 0 :(得分:1)

  

你真的没有忽视任何事情吗?

LoadModule php5_module "your_path_to\php\php5apache2_4.dll" AddHandler application/x-httpd-php .php PHPIniDir "your_path_to\php"

    php.ini中的
  • Remove the comma;extension=php_mbstring.dllextension=php_mbstring.dll
  

现在应该可以了。