[COOK-3402] When the ext_dir setting is present, configure php properly for the source recipe

Signed-off-by: Seth Vargo <sethvargo@gmail.com>