fixing PHP 5.3 compatibility
need apt-get update before apt-get install
Merge pull request #59 from jbboehr/php53

PHP 5.3 Compatibility