remove curl,apache dependency