Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installto.sh - uneeded "php" on line 143 #9237

Closed
jezcaudle opened this issue Dec 4, 2023 · 1 comment
Closed

installto.sh - uneeded "php" on line 143 #9237

jezcaudle opened this issue Dec 4, 2023 · 1 comment
Milestone

Comments

@jezcaudle
Copy link

Line 143 of installto.sh:

system("cd $target_dir && php bin/update.sh --version=$oldversion" . ($accept ? ' -y' : ''));

I have multiple versions of PHP installed: 8.1, 8.2 and 8.3

If I run php8.1bin/installto.sh /path/ it will fail because it tries to use the default version of php, in my case 8.3

If I remove the "php" from line 143, then it will work.

@alecpl
Copy link
Member

alecpl commented Dec 5, 2023

Fixed.

@alecpl alecpl closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants