according to the README, the apache::mod
type should only be used for modules that do not have a specific apache::mod::
class. This is not true for PHP, see another part of the same README. Therefor, the correct manifest would be
include apache::mod::php
These semi-official Puppet Labs modules are generally a good resource.