Diarrhea and other gastrointestinal symptoms are less common but possible if you have pneumonia, or are taking medications for this lung infection. Pneumonia is an infection that causes inflammation ...