No, you can keep them installed. Just make sure you don't have them running. So only one Apache can run at the same time. Same to MySQL.
Greetings and good luck
Oswald
PS: To all the experts: Yes, I know that it is possible to run two (and more) Apache at the same time. Same to MySQL. But not with a standard configuration.