There are a few alternatives, but I’ve used xampp on Windows, Mac & Linux
Yes, I know the xampp but I don´t know how i can put the xampp server online
Can you help me?
you really don’t want to do that. xampp is designed for local development only.
From the home page on apachefriends.org:
The default configuration is not good from a security point of view and it’s not secure enough for a production environment – please don’t use XAMPP in such environment.
@animesdt your best bet is to use xampp straight forward and simple to use however if you really want to get into server creation i would suggest installing PHP form http://www.php.net/ apache server from http://www.apache.org/ and MySql form http://www.mysql.com/downloads/mysql/ these are all contained in xammp but it gives you an idea how server work if you are creating locally and also makes you understand what is going on in the back end of a server.
Regarding getting your site live you will have to open up a port on your router and adjust your firewall setting & apache config files however as @cubecolour said this is not the best idea as it can leave your PC open to attack etc best not