I think you need to clarify... Calibre CONTENT server is the server built-in to calibre itself; exposes the library at port 8080. calibre comes with ALL the required code to run this, and does not need php.
Calibre WEB is a totally separate project from
https://github.com/janeczku/calibre-web