mcrypt Exception during installing


My steps:

composer global require "fxp/composer-asset-plugin:1.0.0-beta3"

composer create-project --prefer-dist yiisoft/yii2-app-basic basic

Then I get:

Writing lock file

Generating autoload files

chmod('runtime', 0777)...done.

chmod('web/assets', 0777)...done.

chmod('yii', 0755)...done.

Script yii\composer\Installer::postCreateProject handling the post-create-project-cmd event terminated with an exception



  The mcrypt PHP extension is required by Yii2.  

But mcrypt is installed and works well:

What can I do?

Thank you!