I have made a application in Yii 2 for free download.
I want people to be able to download the app but not edit the source code. This is because I do not want people editing it and then re-selling it at a cost to other people etc.
I do not want to be held responsible for any problems the application may cause people who use it on their web servers as it a free product. I have done my best to secure the application but I do not want to be held responsible if someone does hack it as it a free product.
If you just want to avoid responsibility, any Open Source license is OK. If you want to prevent re-selling it then it probably worth releasing code with your own license.