PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 31, 2022

[FIXED] Can't run Composer on my Mac Mountain Lion - openssl extension

 January 31, 2022     composer-php, https, macos, openssl     No comments   

Issue

I installed several CMS that require Composer.

Since 2 days i got error and can't go on.

[RuntimeException] You must enable the openssl extension to download files via https

I check the following:

$ openssl version OpenSSL 1.0.1e 11 Feb 2013
$ which openssl /opt/local/bin/openssl

phpinfo say Phar - Native OpenSSL support enabled and OpenSSL support enabled.

Still if i do

$ php -info| grep openssl OpenSSL support => disabled (install ext/openssl)

Does someone has a clue about what i should do to be able to run Composer ?


Solution

In doubt (tks to Sven for pushing me that direction ;) ), I reinstall using port the openssl extension.

sudo port install php5-openssl

It didn't download files but reset something in the preferences and i was able to run Composer install properly on Tiki Wiki CMS (the CMS i'm using most).



Answered By - Bernard Sfez
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing