In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what the meaning of apache in php, I hope you will learn something after reading this article, let's discuss it together!
Apache, whose full name is "Apache HTTP Server", is a Web server software and an interpreter of PHP. PHP itself is a scripting language and needs to rely on a carrier to support its operation, and apache is this carrier; without apache,PHP, it cannot run and transmit information.
Operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
Apache, whose full name is Apache HTTP Server, is Web server software.
Apache is the interpreter of PHP, PHP itself is a scripting language, need to rely on a carrier to support its operation, and apache is this carrier; if there is no apache,PHP, it can not run and transmit information.
Apache download address: http://www.apachelounge.com/download/
The relationship between php and apache
We can think of the server as a restaurant, where apache is the messenger and php is the cook in the kitchen.
Some drinks and the like (static resources, such as HTML, CSS, JS, Images, etc.) are passed directly from the food carrier to the customer (Client) without going through the chef.
If you need dishes cooked by a chef (e.g. * .PHP, etc.), you need to wait for the chef to turn the raw ingredients (php) into edible meals (static resources).
How the Web server works
In general, on a PC or server, the software itself is useless, and we also need hardware boxes for storing and moving content.
1.Web server role
When you use Internet, you need to deal with a set of boxes and content called multiple servers, of which the most important is the Web server, whose basic function is to display the data stored on the Web server according to the request, enter it between the database servers and respond to the request for use, if necessary, protect the stored data in the Web server and restrict access, generally in order to be able to access the website Must cooperate with other dedicated servers (DNS servers).
two。 Protocol (HTTP)
Use it to instruct the method (procedure) to change to the HTTP protocol when a visitor to the Web site requests the Web server. In this case, HTTP represents the hypertext transfer protocol, specifically, part of the URL address of the Web site entered by the Web browser and references http at the beginning.
After reading this article, I believe you have a certain understanding of "what is the meaning of apache in php". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.