Composer package download error in WHM

Composer package download error in WHM

Problem:

Failed to download laravelista/comments from dist: The "https://api.github.com/repos/laravelista/comments/zipball/6f09748873f90b112de36702b390f882b3839a7c" file could not be downloaded: allow_url_fopen must be enabled in php.ini (https:// wrapper is disabled in the server configuration by allow_url_fopen=0
failed to open stream: no suitable wrapper could be found)   Now trying to download from source

Solution:

  1. Login to WHM
  2. Goto Home »Software » MultiPHP INI EditorWhm settings for Composer
  3. Basic Mode > Select PHP version > allow_url_fopen This option enables the URL-aware fopen wrappers that enable accessing URL object like files. Default wrappers are provided for the access of remote files using the ftp or http protocol, some extensions like zlib may register additional wrappers.
  4. Enable it and click on Apply in the bottom.
  5. Hopefully it will install now!


Md. Masud Rana Suman

Md. Masud Rana Suman

I am Microsoft Certified Professional(MCP), Microsoft Certified Solution Associate:Windows Server 2012. ‏‏‎ <br/> <br/> Providing IT support from the year 2013, Which includes Operating System(Windows) support, Networking Services, WHM (Web Hosting Manager) support, WEB Hosting and Domain Name Registration services, Email Server configuration, Information Management Services, Data Recovery, Social Media Marketing, Trainer and many more...

Comments 0


There are no comments yet.
Your message is required.