The installation of doctrine is very easy. Just extract doctrine.*.zip into your www folder. In the beginning of your every script you can put: