search

Home  >  Q&A  >  body text

php - Install third party library using composer

Centos6.8
PHP version

1. Use composer to install a third-party library, and an error message appears: SHA384 is not supported by your openssl extension

2. When installing directly, an error will be reported: Segmentation fault

The original poster doesn’t understand composer very well. What’s going on?

PHP中文网PHP中文网2688 days ago2223

reply all(3)I'll reply

  • 欧阳克

    欧阳克2017-07-06 10:39:23

    mv composer.phar /usr/local/bin/composer

    Then execute composer to see if the installation is successful

    reply
    0
  • PHP中文网

    PHP中文网2017-07-06 10:39:23

    1. First check whether openssl expansion is enabled

    2. If it is enabled, it means that your openssl version is too low. Upgrade your php. I also encountered this last time and directly installed php5.6. Problem solved

    reply
    0
  • 代言

    代言2017-07-06 10:39:23

    Portal https://pkg.phpcomposer.com/#...
    As far as I know composer.phar cannot be installed

    reply
    0
  • Cancelreply