I want to learn server-side programming and web design.So which is better server-side scripting language, php or asp.net?
Who can say that this site has been programming php or asp.net ??
Whatever backend language you pick you should be comfortable with. I use Node.JS. Just make sure whatever one you choose can do what you want, once you start you might be upset if you need to switch languages.
I don’t think you can run asp.net on linux servers without a bit of work but you can spin up a php workspace for php work.
I can’t say what would be better but asp.net will require a windows based server in a production enviroment and the license costs that go with it. PHP is more popular, free to use and code, and easy to run on any linux machine.