Oops! I have missed the exec{} resource for define php::mod and has been fixed through this commit