I was having problem in Windows 7 with PHP 5.4.0 in command line, using Xampp 1.8.1 server. This is what i did:
- Rename
php.ini-production
tophp.ini
(in C:\xampp\php\ folder) - Edit
php.ini
and uncommentextension_dir=ext
. - Also uncomment
extension=php_openssl.dll
.
After that it worked fine.