What is the running environment of php?
1. First understand what environment is. Environment is the condition.
The PHP environment means that if you want to run PHP, you need to install something so that the computer can read PHP and execute the language in PHP. Every language is a convention. It’s not something that can be implemented just by writing it randomly. If there is an agreement, there must be something to judge whether it complies with the rules. Follow the rules and then implement them. This is the PHP environment.
Of course, to run PHP, you need a server. This is one of them, but PHP also needs other services. For example, to store things, you need to use a database, and you need to install a database. , this is the second one. If you not only run PHP, but also publish it on the Internet, then there are some requirements for the computer operating system. Generally, a server system is installed, such as LINUX, server 2003...2000 and other systems. Support these services.
2. The current mainstream PHP environment is the LAMP architecture, that is, linux apache mysql php, but when we beginners build the environment, it is the WAMP structure, specifically windows apache mysql php, or you can use the integrated installation package Install the php environment, such as phpmyadmin. wamp.phpstudy, etc.
For more PHP knowledge, please visit PHP Chinese website!
The above is the detailed content of What is the operating environment of php. For more information, please follow other related articles on the PHP Chinese website!