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?
欧阳克2017-07-06 10:39:23
mv composer.phar /usr/local/bin/composer
Then execute composer to see if the installation is successful
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
代言2017-07-06 10:39:23
Portal https://pkg.phpcomposer.com/#...
As far as I know composer.phar cannot be installed