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

PLATFORM_RELATIONSHIPS not set when using xdebug and php 8.0 #139

Open
simonkey opened this issue Jan 10, 2022 · 0 comments
Open

PLATFORM_RELATIONSHIPS not set when using xdebug and php 8.0 #139

simonkey opened this issue Jan 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@simonkey
Copy link

simonkey commented Jan 10, 2022

The environment variable PLATFORM_RELATIONSHIPS is not set when using xdebug in php 8.0, maybe for php 8.1 too. This is quite a problem when using something like https://github.com/platformsh/symfonyflex-bridge to get e.g. the DATABASE_URL.

Config:

runtime:
    xdebug:
        idekey: PHPSTORM
    extensions:
        - xdebug # optional

If the extension is enabled or not seems not to be the problem.
Internally the platform.sh-image uses a different PHP-FPM-process (https://docs.platform.sh/languages/php/xdebug.html#setting-up-xdebug) when xdebug is used.

Lando version: 3.6.0

@simonkey simonkey added the bug Something isn't working label Jan 10, 2022
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

1 participant