Open Source Social Network allows you to host your own private social networking website

Open Source Social Network (OSSN) is a social networking software written in PHP. It allows you to host your own private social networking site and helps your members build social relationships with people who share similar professional or personal interests. It is available in 10 international languages.

More info:

https://www.opensource-socialnetwork.org/