php - Win10 composer installation problem
黄舟
黄舟 2017-05-16 13:04:27
0
1
501

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?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
Peter_Zhu

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

  1. php added to environment variables

  2. Download composer.phar(Address: https://getcomposer.org/composer.phar),将文件放进PHP目录下,并且新建文本文件 composer.cmd,内容:@php "%~dp0composer.phar" %*.

  3. composer --version Check the composer version to confirm whether the command can be executed. If so, it’s ok

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template