Skip to content

Standalone Server: proc_open(): CreateProcess failed, error code - 267 #6496

@luigidt

Description

@luigidt

Testing on windows XP, version 2.1.6.

When running "php app\console server:run" it gives:

[ErrorException]
Warning: proc_open(): CreateProcess failed, error code - 267 in D:\Source\php\site1\vendor\symfony\symfony\src\Symfony\Component\Process\Process.php line 244

Changing the value of $this->cwd to an absolute path seems to fix the problem. (see http://php.net/proc_open cwd parameter)

The class ServerRunCommand sets "docroot" parameter default value as "web/", maybe it should be null (so it gets the current dir).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy