php - Unable to load dynamic library openssl.so -
i set php , apache on mac 10.8 localhost. far works fine. installing symfony2. when run composer install command, following error :
$ curl -s http://getcomposer.org/installer | php #!/usr/bin/env php settings on machine make composer unable work properly. make sure fix issues listed below , run script again: openssl extension missing, means secure https transfers impossible. if possible should enable or recompile php --with-openssl
i uncommented following line in php.ini :
extension=php_openssl.dll
but still same error, preceded message :
php warning: php startup: unable load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll, 9): image not found in unknown on line 0 warning: php startup: unable load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20131226/php_openssl.dll, 9): image not found in unknown on line 0
there's no openssl.so file in /usr/local/lib/php/extensions/no-debug-non-zts-20131226/ folder indeed. tried reinstalling php made no difference. googled hours yet couldn't find way recompile php --with-openssl. of great value.