Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

failed install silverstripe via composer


Go to End


1190 Views

Avatar
ferdytan

Community Member, 1 Post

1 May 2016 at 5:42am

Hi All

recently i've been try to install Silverstripe via composer, running on mac with MAMP.

everytime i process this : composer create-project silverstripe/installer example

i've got this warning :

The "https://packagist.org/packages.json" 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) https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

[Composer\Downloader\TransportException]
The "http://packagist.org/p/silverstripe/installer%248d688f93cdbce642afbea20e88c8893b64bfb2e93fb967606f92c740ff791a22.json" file could not be downloaded: allow_url_fopen must be enabled in php.ini (http:// wrapper is disabled in the server configuration by allow_url_fopen=0 failed to open stream: no suitable wrapper could be found)

and i respond to the warning, i go to the php.ini on MAMP - php 5.6.10 php.ini and i see the allow_url_fopen = on

so please help me to fix this

Thanks before