WAMPAndLAMPI often use them. Let's talk about the composition of their platforms!
Composition of WAMP and LAMP platforms
The WAMP and LAMP platforms are composed of several components with a hierarchical structure. Each layer provides a key part of the entire software stack:
Linux and windows: Linux and windows are at the lowest layer and provide the operating system. Each other component is actually running on it. However, it is not necessarily limited to Linux and windows. If necessary, other components include Mac OS X or UNIX.
Apache: Apache is used at the lower layer and is a Web server. Apache provides a mechanism for users to obtain Web pages. Apache is a stable server that supports key tasks. Over 65% of websites on the Internet use Apache as a Web server. PHP components are actually in Apache, and dynamic pages can be created through Apache and PHP.
MySQL: MySQL provides the data storage end of the LAMP system. With MySQL, you can obtain a very powerful database suitable for running large and complex sites. In Web applications, all data, products, accounts, and other types of information are stored in this database, which can be easily queried using the SQL language.
HP: PHP is a simple and effective programming language that is like an adhesive that binds all other components of the LAMP system together. You can use PHP to write dynamic content that can access MySQL database data and some features provided by Linux.
Erl: Perl is a scripting language. This indicates that it is not compiled into an executable program, but a set of commands (scripts) interpreted at runtime ). Perl is the combination of words that represent the actual extraction and report language (practical extraction and report language. Perl is hailed as the "Swiss Army Knife" in the language ". It is powerful and flexible. Larry Wall developed Perl when NASA was a system administrator in the late 1980s S. He created Perl to simplify the task of building reports. Perl is now used to execute many tasks. It may be the most popular language for CGI (Public Gateway Interface) programming on the Web. The reason is that Perl is a very powerful text processor, and Web programming is mainly text processing. In addition, using Perl is generally easier than using C/C ++, Java, or Tcl, and it appears earlier than Python. Perl is called a "glue language ". The so-called glue language, that is, it can be used to connect many elements together.
Ython: Python is an interactive object-oriented interpreted programming language. Python uses very clear syntax to implement very powerful functions. It has modules, classes, unexpected processing, and high-level dynamic data types and dynamic definitions. In addition, it has interfaces and library functions for multiple systems to call. The built-in modules can also be conveniently written in C or C ++. Python is also competent for user interface programming. Python can run in Linux, UNIX, Windows, DOS, OS/2, Mac, Amiga, and other environments. Although Python is copyrighted, it can be used and distributed for free, or even for commercial purposes.
The WAMP and LAMP platforms are composed of several components with a hierarchical structure of 1.
Figure 1 WAMP and LAMP hierarchy
Through the introduction of this article, we have clearly understood the composition of the WAMP and LAMP platforms. I hope this article will help you!
Edit recommendations]
- LAMP practical tips for linux Command usage
- LAMP platform preparation and use problem solution
- LAMP practical tips-MySQL performance monitoring
- Install and configure LAMP on openSUSE
- LAMP (Linux + Apache + Mysql + PHP) Deployment Manual
- LAMP security reinforcement-mysql
- Coding PHP for LAMP security reinforcement