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:\wamp\bin\php\php5.4.16\php.exe
Add to System path variable:
C:\ProgramData\ComposerSetup\bin
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.
You can follow this guide:
http://abuango.net/2014/08/16/how-to-install-composer-on-windows-with-xampp/
Hope it helps you.
php.ini
inC:\wamp\bin\php\php5.4.16\
(the configuration file of PHP).;
in lines;extension=php_openssl.dll
and;extension_dir = "ext"
. PHP will know that you are using a php_openssl extension and extension_dir is the location of extensions (you can see it in the comment above php_openssl).mklink C:\Windows\php.ini C:\wamp\bin\php\php5.4.16\php.ini
Composer search
php.ini
inC:\Windows\php.ini
and you have your PHP in WAMP. Withmklink
command you create a linkphp.ini
that aim to your WAMP'sphp.ini
.The problem solved after turn off windows firewall.
installation complete!
For MAMP users, this is what worked for me.
If your php.ini is located under a \MAMP\conf\
NOTE: it is http not https !
END
i was facing the same issue but i fixed that,
if you are using wamp
goto your selected php version directory and then you need to edit that directory php.ini file
replace this line
;extension=php_openssl.dll to extension=php_openssl.dll
and save and then restart then it will be working :)I was facing the same issue in windows 7 PC with xampp.
I just change the value of 'browscap' in php.ini file. Use full path instead of absolute path.
In my case Xampp was in E drive so I have changed browscap="\xampp\php\extras\browscap.ini" to browscap="E:\xampp\php\extras\browscap.ini"
And it works for me!