PHP is a server-side scripting language designed to be used for web purposes. ... Server-side scripting languages interpret scripts on the server side rather than client-side (like JavaScript). Doing so provides a customized interface for each user and adds functionality beyond what HTML can offer.