The Xdebug extension was built and installed without any issues, it is loaded and works. However, there's quite some issues:
valet command fails:/usr/local/bin/valet: line 63: 17031 Segmentation fault: 11 php "$DIR/cli/valet.php" "$@"
sudo brew services restart php instead of valet restart works fine.2018/12/14 14:47:45 [error] 15719#0: *8 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: vidico.test, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/Users/Ihor/.config/valet/valet.sock:", host: "vidico.test"
No additional PHP-related error info.
phpinfo() works fine, shows Xdebug loaded, var_dump() is overloaded by Xdebug (so it kinda works).I understand that 7.3 support in Xdebug is still in beta, and issues are expected. Will be happy to dive deeper and investigate that cli segfault and 502 error if someone points where to look for additional debug info.
Since the introduction of PHP 7.3.0-rc4-1, at least under Debian, it segfaults like crazy. I have tested it with 7.3.0-1 as well, but still behaves the same.
As soon as I switch back to 7.2.9-1, everything works as expected.
@stefanos82 PHP 7.2.13 with Xdebug 2.6.1 (stable) works perfectly fine for me. PHP 7.3.0 - nope.
@ihorvorotnov Yep, it must be a bug with 7.3.0.
Another person reported the same behavior https://laracasts.com/discuss/channels/code-review/homestead-502-bad-gateway-for-php-73-web-app-works-with-72
Disabling opcache seems to work: https://externals.io/message/103609
At least it won't segfault, can't get it to connect
edit: Not using this project but saw this issue and thought I'd share my 2 cents.
@MartijnDevNull thanks for your input. I personally rolled back to 7.2 for now, hope it'll be fixed soon.
It will be fixed in the next version:
https://github.com/xdebug/xdebug/pull/438
On Thu, Jan 3, 2019, 17:54 Ihor Vorotnov notifications@github.com wrote:
@MartijnDevNull https://github.com/MartijnDevNull thanks for your
input. I personally rolled back to 7.2 for now, hope it'll be fixed soon.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/laravel/valet/issues/685#issuecomment-451205206, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC0aetvLLlAh4Dgy5krPnJ3RuEQhg5Grks5u_jXIgaJpZM4ZTfiE
.
IMO This can be closed, as it's not in Valet's control.
Looks like it's fixed as of RC1, here's what just worked for me:
pecl install xdebug-2.7.0RC2
valet restart
Most helpful comment
It will be fixed in the next version:
https://github.com/xdebug/xdebug/pull/438
On Thu, Jan 3, 2019, 17:54 Ihor Vorotnov notifications@github.com wrote: