A shared web host I'm using is offering several versions of PHP on the same server: 5.2, 5.3 and 5.4. They make it possible to switch between these versions by naming the file extensions .php54
and .php53
respectively, or via an .htaccess directive:
AddHandler php5.4-script .php
I have not been able to completely figure out how their Apache server is configured to support this though. Everything I found seemed to say that only one mod_php can be compiled into Apache at a time. Would this suggest that php5.4-script
is some sort of custom wrapper module? Or are there obscure ways in which different PHP modules can be compiled under different handler names?