Skip to content

Bug: Spark issue with PHP install location #2367

Description

@henry-090192

Bug?
If PHP is installed to a directory with a space in its name 'php spark serve' returns error: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

CodeIgniter 4 version
CodeIgniter 4.0.0.0-rc3

Affected module(s)
Running command 'php spark serve'

Expected behavior, and steps to reproduce if appropriate
Install and configure PHP (any version) to 'C:\Program Files\PHP' (any directory with a space in its name).
Execute command 'php spark serve'.
OR
Execute command '"C:\Program Files\PHP\7.3.10\php.exe" spark serve' (complete php path).

Context

  • OS: Windows 10 Pro 64bit
  • Web server: N/A
  • PHP version: 7.3.10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix themdocumentationPull requests for documentation only

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions