-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: Spark issue with PHP install location #2367
Comments
This is not an issue with spark. It is a Windows/PHP issue. See this SO post for examples of others having issues. |
That screenshot was very helpful! This appears to be an issue with the call to PHP itself. I think we need to quote our
Reopening. |
Which file ? |
system/Commands/Server/Serve.php |
Thanks. I fixed it. Don’t forget to fix it also in codeigniter4/framework and all other repository.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
…________________________________
From: MGatner <[email protected]>
Sent: Saturday, February 29, 2020 5:00:25 PM
To: codeigniter4/CodeIgniter4 <[email protected]>
Cc: Edgar MUHAMYANGABO <[email protected]>; Comment <[email protected]>
Subject: Re: [codeigniter4/CodeIgniter4] Bug: Spark issue with PHP install location (#2367)
system/Commands/Server/Serve.php
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2367?email_source=notifications&email_token=AGH6I2SBFH3JQQZYM4EC23TRFERITA5CNFSM4JFQXAQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENL4EGY#issuecomment-592953883>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGH6I2WWTY3JRIFLG3LNIYTRFERITANCNFSM4JFQXAQQ>.
|
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
The text was updated successfully, but these errors were encountered: