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

Occasional "Failed to switch to PHP version" Error #16

Open
ChrisMas2001 opened this issue Jan 30, 2024 · 1 comment
Open

Occasional "Failed to switch to PHP version" Error #16

ChrisMas2001 opened this issue Jan 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ChrisMas2001
Copy link

Hello,

Firstly, I want to express my gratitude for the development of the swtp tool. It's been incredibly useful in my workflow.
Just to create this issue, I have created an account on github :).

However, I've encountered an issue that I wanted to bring to your attention. Occasionally, when attempting to switch PHP versions using swtp, I receive an error message that says "Failed to switch to PHP version".

For instance, when I run swtp 8.2 to switch from PHP 7.4 to 8.2, I see the following output:

❯ swtp 8.2
Currently linked PHP version: 7.4
Unlinking the current PHP version...
Linking PHP version 8.2...
Failed to switch to PHP version 8.2.

This error doesn't always occur, but it happens frequently enough to disrupt my workflow. I would appreciate any guidance or fixes you might have for this issue.

Thank you once again for your work on this tool.

@kisztof
Copy link
Owner

kisztof commented Feb 2, 2024

Thank you for taking the time to report this issue with the swtp tool and for your kind words regarding its utility in your workflow. I acknowledge the problem you've described when attempting to switch PHP versions and understand how this can be disruptive.

Rest assured, I will investigate this issue promptly to identify and implement a resolution.

@kisztof kisztof self-assigned this Feb 2, 2024
@kisztof kisztof added the bug Something isn't working label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants