PHP has a built-in web server that can be used to run on Heroku web dynos, however this is not recommended. Instead you should be using a boot script which is referenced in your Procfile to launch a web server together with PHP. This article explains the different ways in which you can pass arguments to this boot script to customize settings for the PHP runtime as well as the web server software.