Skip to content

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

Closed
@ElectricPulse

Description

@ElectricPulse
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions