Added a boolean to the php plugin example.
Changed the permissions of bootstrap script
Solved compilation errors.