Hi,
I think the easiest way without checking the configuration files is to create a little phpinfo script. Near the top of the output there will be a line in the first table, "Server API". It will either show something like e.g. "Apache 2 filter" or "Apache" or something like "cgi-bin" (in my case it shows "Apache 2 filter"). This way you'll know how php is installed.
Thomas