PHP is a broadly useful scripting dialect that is particularly suited to server-side web development, in which case PHP for the most part runs on a web server.
Any PHP code in an asked for record is executed by the PHP runtime, for the most part to make dynamic web page content or element pictures utilized on websites or somewhere else.
PHP is for the most part centered around server-side scripting, so you can do anything some other CGI program can do, for example, gather
shape data, produce dynamic page content, or send and get cookies. In any case, PHP can do a great deal more.