jmnielsen7 - 2:43 pm on Mar 22, 2013 (gmt 0)
It figures that there wouldn't be any cut-and-dry answer that fits all cases. Although it does indeed seem related (in part) to whether one is processing PHP with a module or with CGI. I actually did find jdMorgan's responses quite helpful and found this explanation enlightening:
"The theoretically-correct way to tell Apache to execute a script is to use the AddHandler directive. However, due to a kludge in the way PHP was first implemented, the seemingly-nonsensical application of the AddType directive is sometimes required. As I understand it, whether you need to use AddHandler or AddType depends on whether your PHP is installed as a module or as CGI."
"You're also fighting "institutionalized" confusion between the very-different functions of AddType (which defines the MIME-type header to be returned with content to the client), and AddHandler, which tells the server how to handle each filetype in the server's filespace.
The examples posted above demonstrate this "institutionalized" confusion; Although the use "AddHandler application/x-httpd-php .php" to declare a MIME-type as a content-handler is glaringly nonsensical, the fact is that it will work on some servers."
"Institutionalized confusion" eh? Ah well, I suppose to eat my own dog food (my own terminology) I too must call myself a 'defeatist' and succumb to the "institutionalized confusion" as well. Doh!