Using CGI : a PHP process is launched by Apache, and it is that PHP process that interprets PHP code - not Apache itself.Basically, when loading mod_php as an Apache module, it allows Apache to interpret PHP files (those are interpreted by mod_php).ĮDIT : There are (at least) two ways of running PHP, when working with Apache :