Issue
heroku local
doesn't work with my PHP app on Windows.
Resolution
Running a PHP app locally is a bit of a special case. Other languages (Ruby, Python, Node and etc.) have web servers that are written in the language - this allows them to use the same command when running locally or on Heroku.
For PHP this needs another web server (usually Nginx or Apache) in order to process requests. The default Heroku PHP buildpack will take care of these when running on Heroku. However heroku local
is not the same thing - it's effectively a convenient shortcut for running the command defined in the Procfile.
Please check this article for macOS users for a workaround. Unfortunately, Windows is not supported.