create php dir & sample code