RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org

Created at 23-Feb-2022 , By samar

RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org

In this article, we will see how to solve "RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org".

You have to enable openssl extension to avoid the RuntimeException You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org exception while running composer command.
  • Enable openssl extension

    --PATH E:\laragon\bin\php\php-8.0.16-Win32-vs16-x64\php.ini
    extension=openssl
    

    Enable openssl extension by removing the ; from the ;extension=openssl in php.ini file.

    Find ;extension=openssl in php.ini file and remove ; from it or just place extension=openssl in case you did not find the ;extension=openssl in php.ini.

    Additional Note:

    File path may be different.

Back to code snippet queries related laravel

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.