heroku local doesn't work with my php app on Windows.
Running a PHP app locally is a bit of a special case. Other languages (Ruby, Python, Node 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 user for a workaround. Windows is not supported.