If you’re not a full-time web developer, there’s no point in having Apache and MySQL from starting every time you boot. Plus, you have to wait for them to be stopped when you shut down your PC.
Run these 2 commands and you’ll be done
update-rc.d -f apache2 remove
update-rc.d -f mysql remove
Reference: Askubuntu