Boil the spaghetti in lightly salted water until al dente. Heat oil in a heavy pan over low heat, sauté garlic in the hot oil for a couple of minutes, stir with wooden spoon to prevent sticking. Add a couple of tablespoons of water to the garlic/oil mixture and add chili and basil. Continue to stir, over heat for a couple more minutes. Add cooked, drained pasta and toss before serving with a sprinkle of freshly grated Parmesan cheese. Serves four.