Oops! I have missed the exec{} resource for define php::mod and has been fixed through this commit
Removed unnecessary metaparameters from exec{} of define php::mod... Hurray it's working great
Merge pull request #3 from axislab/define_mod

Define mod Completed......