Spark Serve Options |
Hi All,
I've installed CI4 appstarter using composer and want to run on port 80. I ran php spark serve and noticed that any --options were being ignored. Looking at Serve.php and CLI.php can someone explain how I should set required options? All the best.
It's in the CodeIgniter 4 User Guide.
Code: php spark serve --port=8081 Change port to your port. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
It's in the CodeIgniter 4 User Guide.
Code: php spark serve --port=8081 Change port to your port=80 What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I stumbled over the same issue. The solution is quite simple: Remove the "=". So if anyone else has this problem, the solution is:
Code: php spark --port 80 Same with any other option. At least in Windows it's working this way. Not sure yet about Linux.
(10-18-2019, 08:26 AM)BlindPenguin Wrote: I stumbled over the same issue. The solution is quite simple: Remove the "=". So if anyone else has this problem, the solution is:Yes its working also in Linux, no = between! php spark serve --port 8083
In my case, using
Code: php spark serve --port=8081 Deleting "=" sign make it works. |
Welcome Guest, Not a member yet? Register Sign In |