cookbook-php-fpm icon indicating copy to clipboard operation
cookbook-php-fpm copied to clipboard

Getting mirror list error while using this cookbook on Amazon linux

Open Aamir010 opened this issue 8 years ago • 2 comments

STDOUT: Could not retrieve mirrorlist http://rpms.famillecollet.com/enterprise/latest/remi/mirror error was 14: PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" STDERR: http://rpms.famillecollet.com/enterprise/latest/remi/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror.

Aamir010 avatar Jul 21 '16 10:07 Aamir010

This cookbook has been work on local VM with CentOS 7. Don't know what's wrong with Amazon Linux

Aamir010 avatar Jul 21 '16 11:07 Aamir010

@Aamir010 I just ran into this, almost one year later 😱 U can use the following to overwrite the default values of the repository (e.g. for RHEL6):

  "php-fpm": {
    "yum_url": "http://rpms.remirepo.net/enterprise/6/php56/$basearch/",
    "yum_mirrorlist": "http://rpms.remirepo.net/enterprise/6/php56/mirror"
  }

tvb avatar Apr 26 '17 11:04 tvb