XAMPP might be OK to play around with the stack, to test, learn etc.
It's not for production use, unless you really know how to configure it 100% for prod env, but if you know that, than you just install 'real' stack from scratch and not bother with xampp.