Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I already uncommented in php.ini:

[PHP]

;;;;;;;;;;;;;;;;;;;
 ; About php.ini ;
;;;;;;;;;;;;;;;;;;;

;extension=php_oci8_11g.dll
extension=php_openssl.dll
;extension=php_pdo_firebird.dll

Variables of the system set ok.

PHP version 5.4.16:

  C:wampinphpphp5.4.16php.exe

Add to System path variable:

  C:ProgramDataComposerSetupin

But, recive this error:

Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:

The openssl extension is missing, which means that secure HTTPS transfers are
impossible. If possible you should enable it or recompile php with --with-openssl

I'm using:

  • windows 7
  • Wamp
  • php 5.1.16
  • apache 2.4.4

How solve this problem, please help me.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
226 views
Welcome To Ask or Share your Answers For Others

1 Answer

  1. Open php.ini located in your "php" folder for example in xampp the file is in XYZ:xamppphp

  2. Find "extension=php_openssl.dll"

  3. ";extension=php_openssl.dll" - remove ";"

  4. Restart your xampp (or whatever u use), extension should be loaded after that.

  5. Try agien to install composer.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...