... to each of these VH entries, so I can define a different location for php.ini.

I could of course, just edit it in, but I know it will be overwritten. I'm aware of /var/cpanel/templates/main.default which contains the template for this area of httpd.conf, but again, if I edit it, it will be overwritten on the next cpanel update.

I suspect this requires me to create a .local file in the templates directory, and do something with distiller, but this is where I can't work out what to do next.... Help! :D