Apache无法识别PHP扩展

Running php -m on the command line I can see all of installed PHP extensions. However, on phpinfo() output I can not find some of them e.g. mbstring. What is wrong with it? I use PHP 5.6 and Apache http server 2.4 on windows 7 all 64b.

Did you really not overlook anything?

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

  • Remove the comma in php.ini: ;extension=php_mbstring.dll to extension=php_mbstring.dll!

It should work now.