10000 local:server adds php tool symlinks again which causes a crash · Issue #603 · symfony-cli/symfony-cli · GitHub
[go: up one dir, main page]

Skip to content

local:server adds php tool symlinks again which causes a crash #603

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

Open
ElectricPulse opened this issue May 2, 2025 · 0 comments
Open

Comments

@ElectricPulse
Copy link
ElectricPulse commented May 2, 2025
  1. I start the local server
  2. After serving the page a couple times, somewhat randomly this line gets logged:
    [Web Server ] May 2 16:07:50 |DEBUG | PHP Using PHP version 8.3.20 (from .php-version from current dir: /root/apps/paintshop/.php-version) path="/usr/local/bin/php-cgi" php="8.3.20"
  3. Immediately after php.Config() (local/php/executor.go:176) gets called again. It picks up the last tempDir: 232: if e.tempDir == "" { e.tempDir = filepath.Join(cliDir, "tmp", xid.New().String()) } and begins by symlinking php-config to the tempDir. These symlinks already exists though so symfony crashes.

Image

I am using symfony version 5.11.0 in a php 8.3 docker container. I built symfony from the source code that's how I was able to obtain provided info.

@ElectricPulse ElectricPulse changed the title Adding .php-version causes local:server to add php tool symlinks again which causes a crash local:server adds php tool symlinks again which causes a crash May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant
0