php-fpm for php 5.3

modified the compile.sh to support php-fpm even for php 5.3