-
Notifications
You must be signed in to change notification settings - Fork 211
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
DIR path breaks in 5.6 #216
Comments
This seems to be resolving to an empty string:
|
I had the same thing, wrapping the
This occurs on php5.6 only which seems it can not read the source like in php7 |
In my case this was caused by an segmentation fault in the |
This is not very practical specially when you work on various projects and need to frequently switch php versions. |
I'll try to reproduce this, thank you for supplying your solution @alaa-almaliki |
Can you try our new 1.0.19 release to see if it solves this issue? |
Thanks @samgranger, sorry I was away from home for a couple of days and only came back today, it seems that the issue was because the xdebug enabled on PHPSTORM. The issue happens when you are in a php 7 version, then switch to php 5.6. If you have the xdebug enabled on PHPSTORM then you will get segmentation fault or Bus error if you want to run |
Just updated to 1.0.19, valet+ is still broken after switching to 5.6. My laborious and annoying repair procedure is to re-install php 7.1, run valet fix, then switch back again, but there have been times where this doesn't work and I have to traverse to |
As mentioned in #229: Can you check if ~/.composer/vendor/bin is in your systems path? You can check this by running If this is not the case, please execute the following command and restart your terminal: export PATH=$PATH:~/.composer/vendor/bin |
Here's my path:
|
Hi, had the same problem when I had PHPStorm listening to xdebug connections. Stop listening fixed it, see https://stackoverflow.com/questions/29700081/composer-install-fails-with-bus-error-10 |
Hi @capitaladot, is 1.0.20 I've changed the way to detect the valet binary. I had a problem with PHP 5.6 here and fixed it. Can you if your problems are solved in 1.0.20 please? |
Will retest.
…On Tue, Aug 14, 2018, 8:46 AM Mischa Braam ***@***.***> wrote:
Hi @capitaladot <https://github.com/capitaladot>, is 1.0.20 I've changed
the way to detect the valet binary. I had a problem with PHP 5.6 here and
fixed it. Can you if your problems are solved in 1.0.20 please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#216 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABi1gXKaZlQbQ5URwlHwRRUvIRUBYBOEks5uQsaYgaJpZM4U_gIX>
.
|
Seems to work a treat, thanks.
Closes #216
…On Tue, Aug 14, 2018, 9:41 AM A. ***@***.***> wrote:
Will retest.
On Tue, Aug 14, 2018, 8:46 AM Mischa Braam ***@***.***>
wrote:
> Hi @capitaladot <https://github.com/capitaladot>, is 1.0.20 I've changed
> the way to detect the valet binary. I had a problem with PHP 5.6 here and
> fixed it. Can you if your problems are solved in 1.0.20 please?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#216 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABi1gXKaZlQbQ5URwlHwRRUvIRUBYBOEks5uQsaYgaJpZM4U_gIX>
> .
>
|
I updated drom 1.0.19 to 1.0.20 and I now get this error: |
Just like @regularlabs I updated to |
Same issue as @regularlabs and @jomurgel -- was previously running |
Try renaming the file (symbolic link): |
I installed 1.0.20 and I get the same error under php@7.1
Here's the Php infos:
Is there a solution for this? Or am I missing something? |
Thanks, will get on it |
Hi, just released |
Re-tested on 5.6 in 1.0.21; still good (since 1.0.20)! |
Thanks @mischabraam I'm able to run through installation just fine since the double check fix released in |
I run in to this problem running valet-plus 1.0.23 on macOS 10.14.1 trying php 5.6.38 |
The text was updated successfully, but these errors were encountered: