OBJECTIVES: I. Determine the maximum tolerated dose and toxic effects of irinotecan and oral capecitabine in patients with gastrointestinal or other solid tumors. II. Characterize the relationship at the recommended phase II dose between thymidine synthase and thymidine phosphorylase expression and tumor response and/or toxic effects in these patients.