I think you could change in the file
Code:
/etc/apache2/ports.conf
the Listen directive to 8000:
or whatever port you want, also check the
statement, it has to match
Code:
./sites-enabled/000-default
...it is most likely the XAMPP using port 80, I haven't used it before, so I wouldn't know what to do there; I know its apache-based, so it probably uses a similar config.
also, instead of restarting apache use:
Code:
sudo /etc/init.d/apache2 reload
to load the new configuration, and then
Code:
sudo /etc/init.d/apache2 restart
That's what I can see, I hope it was helpful...