Home>Article>Backend Development> What is the www file in php for?
#What is the www file in php for?
The www file in php represents the root directory of the server, which is the location of the site, that is, the root directory where a web page is accessed. The website program source code is stored under www.
Introduction to PHP:
PHP (full name: PHP: Hypertext Preprocessor, that is, "PHP: Hypertext Preprocessor") is an open source general-purpose computer scripting language , especially suitable for web development and can be embedded in HTML. The syntax of PHP draws on the characteristics of popular computer languages such as C language, Java and Perl, making it easy for ordinary programmers to learn. The main goal of PHP is to allow web developers to quickly write dynamic pages, but PHP is also used in many other areas.
PHP was originally developed by Lerdorff in 1995; the PHP standard is now maintained by the PHP Group. PHP uses PHP License as the license agreement, but because this agreement restricts the use of the PHP name, it is incompatible with the open source license agreement GPL.
PHP has a wide range of applications, especially in the development of web programs. Generally speaking, PHP is mostly run on a web server, and the web pages browsed by users are generated by running PHP code. PHP can run on most servers and operating systems, and using PHP is completely free. According to statistics from April 2013, PHP has been installed on more than 244 million websites and 2.1 million servers.
PHP has a dedicated official porting and compilation project on Windows, and provides different version support through multiple VC compiler versions and thread safety features.
For more PHP knowledge, please visitPHP Chinese website!
The above is the detailed content of What is the www file in php for?. For more information, please follow other related articles on the PHP Chinese website!