SPX install.sh reports failure when default PHP is 8.5+, though the install worked for 8.2–8.4
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading install.sh, focusing on the hardcoded PHP version loop and the final php -m | grep SPX check described in the issue. Compare those checks with Herd’s installed PHP binaries and the listed SPX 0.4.17 builds; done means the installer reports accurately which versions received SPX, without reporting failure when supported versions installed successfully.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
When Herd's default PHP is 8.5, running the installer ends with an error, even though SPX installed correctly for every supported version.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/beyondcode/php-spx/HEAD/install.sh)"
INFO Latest release: 0.4.17
INFO Installing the SPX Profiler extension...
INFO Laravel Herd is installed. Installing for all available PHP versions...
INFO Restarting Laravel Herd...
ERROR There was an error installing the extension.
ERROR Please check the output above for any errors.
Environment
- macOS (arm64), Laravel Herd
- Installed PHP versions: 8.2, 8.3, 8.4, 8.5, 8.6
- Default
php: 8.5.12 - SPX release: 0.4.17
Cause
- The install loop is hardcoded to
for version in {74..84}, so it skips 8.5 and 8.6. - Release 0.4.17 has no
spx-php-8.5-*orspx-php-8.6-*macOS builds. - The final check runs
php -m | grep SPXagainst the default PHP (8.5). SPX isn't there, so the script reports failure.
Checked after running: php82 -m, php83 -m and php84 -m all list SPX.
Expected
- Builds for PHP 8.5 and 8.6, plus a wider loop range (or a loop over whatever
php*binaries Herd has installed). - If those can't ship yet, the script should say "PHP 8.5 not supported yet, installed for 8.2, 8.3, 8.4" instead of a general error. It could do that by checking each installed version rather than only the default
php.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 124
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di beyondcode/herd-community
-
fixed-in-next-release macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
beyondcode/herd-community#1774 ·
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beyondcode/herd-community#1693 ·
-
macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
beyondcode/herd-community#1602 ·
-
fixed-in-next-release macOS
Difficoltà 4/5 1-2 giorni Idoneità per principianti 35/100
beyondcode/herd-community#1789 · 1 reazione ·
-
macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
beyondcode/herd-community#1785 · 1 commento ·
Tutte le issue di beyondcode/herd-community
Issue simili
-
simulator-session.yml の simtunnel の固定先が古く、agentd が無いため simtunnel up --wait / status が準備完了を検知できないAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
automated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
camunda/camunda-deployment-references#3903 ·
I maintainer di solito rispondono entro 1 giorno
-
VLAgent `spec.k8sCollector.includePodLabels: false` has no effectForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
VictoriaMetrics/operator#2772 ·
I maintainer di solito rispondono entro 1 giorno
-
admission-deferred priority: medium status: ready work-class: scoped
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
melodic-software/claude-code-plugins#10887 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
personalrobotics/geodude#243 ·
I maintainer di solito rispondono entro 1 giorno