You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to install herd and php via the php.new script, installation is failing due to the wrong version of php being installed. I commented out the arm check in the script to confirm and then followed the download link directly and found that it was also installing the arm version. The file returned from https://download.herdphp.com/herd-lite/macos/x64/8.4/php is arm64
file php
php: Mach-O 64-bit executable arm64
./php
zsh: bad CPU typein executable: ./php
/bin/bash -c "$(curl -fsSL https://php.new/install/mac)"
INFO Downloading PHP binary…
INFO Downloading Composer binary…
INFO Downloading Laravel installer
INFO Downloading cacert.pem…
INFO /Users/john/.config/herd-lite/bin is already in your PATH.
/bin/bash: line 192: /Users/john/.config/herd-lite/bin/php: Bad CPU typein executable
The text was updated successfully, but these errors were encountered:
JohnIrle
changed the title
[Bug]: php.new install on mac failing due to arm version of php being returned from x86 download link
[Bug]: php.new install on x86 mac failing due to arm version of php being returned from x86 download link
Jan 1, 2025
Platform
macOS
Operating system version
macOS Ventura 13.6.7
System architecture
Intel (x86)
Herd Version
1.13.0
PHP Version
8.4
Bug description
When trying to install herd and php via the php.new script, installation is failing due to the wrong version of php being installed. I commented out the arm check in the script to confirm and then followed the download link directly and found that it was also installing the arm version. The file returned from https://download.herdphp.com/herd-lite/macos/x64/8.4/php is arm64
Steps to reproduce
Run the php.new script from an x86 mac computer. Also download the file from https://download.herdphp.com/herd-lite/macos/x64/8.4/php and use the file command. You should see php: Mach-O 64-bit executable arm64
Relevant log output
The text was updated successfully, but these errors were encountered: