Add php5-curl and php5-gd packages