I'm new to dh, and I have a question about setting up php5. My situation is that I need php4 on a majority of my domain (older Gallery 1.x app), except in a specific directory, where I need to use php5.
I know this is possible, as I've done it before on a slightly different system. So I must be missing some crucial step here on dh.
My understanding is that dh users have php4 and php5 already available at /usr/local/bin/php and /usr/local/php5/bin, respectively (per whereis).
I've also dropped a .htaccess file where I want to redirect for php5. Here's what I have in the .htaccess:
AddHandler php5 .php
Action php5 /usr/local/php5/bin/php
Yet, when I attempt to run a test script (call to phpinfo()), the script fails.
Scripts above the .htaccess redirect appropriately call php4.
What am I missing here?