put init script to dirs, add apahce deploy init script which supports php