shivammathur/homebrew-php

php@8.3: Failed to download resource "php@8.3"

adjarriawan opened this issue · 5 comments

curl: (22) The requested URL returned error: 401

brew install shivammathur/php/php@8.3

  1. arch -arm64 brew tap shivammathur/php
  2. arch -arm64 brew install shivammathur/php/php@8.3
Screenshot 2024-01-31 at 07 33 13

Please run brew update to update the tap and then try again.

Please run brew update to update the tap and then try again.

Screenshot 2024-01-31 at 23 21 07

Device: Macbook Air M1
OS: 14.2.1 (23C71)

@adjarriawan

From the blob url, it seems that the formulae in the tap are old.
Please make sure the tap is updated.

brew tap --repair shivammathur/php

And then check if the latest commit hash matches the latest commit on the repo

git -C $(brew --repo shivammathur/php) rev-list --max-parents=0 HE

Then, try again, and provide me the outputs of the commands if it is still failing.

@shivammathur

Screenshot 2024-02-03 at 00 24 51

For the repository, it is already using the latest, the error message displayed is still error code 401

It seems that there is an issue with the alias in the tap of your end. It should fetch php 8.3 from shivammathur/php/php package and not shivammathur/php/php/8.3

image

Please remove the tap and try adding it again.

HOMEBREW_DEVELOPER=1 brew untap shivammathur/php
brew tap shivammathur/php

Also make sure the brew version is the latest one using brew update and check that brew doctor does not report any issues.