Minor Changes

Updated Versioning
Changed PHP install routine to install curl if not already installed
made PHP versioning dynamic so it gets the latest PHP version for 5.4