remove apt-get update and apt-get install php5-dev
move to ensure-phpize.sh