System win10, PHP version 5.6.25, download Composer-Setup.exe to install, the prompt is as follows. PHP has enabled OpenSSL, PDO, mbstring, tokenizer, xml, how to solve this situation?
extension_dir is not configured correctly, just change it extension_dir is a configuration item in php.ini, just change it to the absolute path of your ext directory
extension_dir is not configured correctly, just change it
extension_dir is a configuration item in php.ini, just change it to the absolute path of your ext directory
-----------------------------An easier way------------- ------------------
composer.phar is actually a Php script, you can actually download it yourself
php added to environment variables
Download composer.phar(Address:
https://getcomposer.org/composer.phar
),将文件放进PHP目录下,并且新建文本文件composer.cmd
,内容:@php "%~dp0composer.phar" %*
.composer --version Check the composer version to confirm whether the command can be executed. If so, it’s ok