fixes for php 5.3 compatibility.
remove extra apache handler.
Merge pull request #2 from taylorotwell/master

Fixes for PHP 5.3 compatibility.