CGI PHP or as a Modul? or both at the same time

hello dear community,

my question - can i run a Webserver that loads PHP either as

CGI PHP or as a Module?

Or can i run the whole thing with both options at the same time!

Hope that the question was clear and concise - if not - just do not hesitate to ask more.

look forward to hear from you

greetings
db