Merge pull request #2 from nhp/master

fix for 'PHP Extensions “0” must be loaded in 1.7.x and some installations
Refactored script to ask for 'sudo' if necessary.

* New configuration parameters for file and folder permissions