LAMP Directory Variable Substitution