PHP is most commonly used for web site server-side programming; but it an also be used for non-web scripts, and there is a desktop GUI extension for making stand-along desktop applications (stand-alone in that they do not require a web server, but they do require PHP).