Did you restart the WHM machine?
Feb 13, 2018
5
Level 1
Error The "https://packagist.org/packages.json" file could not be downloaded:
Hi experts,
totally tired with a strange issue please help
When I was accessed my GoDaddy server with SSH and hit commands with like composer handling
for example
composer update
Every time getting this error after running the composer command.
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: allow_url_fopen must be enabled in php.ini (https:// wrapper is di
sabled in the server configuration by allow_url_fopen=0
failed to open stream: no suitable wrapper could be found)
After this, i have also enabled the value of allow_file_fopen to enable in my WHM machine and application but still getting the same issue.
Anybody have any idea that why it is doing like this?
Thanks
Please or to participate in this conversation.