The difference between the php integrated environment and its own configuration, the difference between the php integrated environment, the php green integrated environment, and the php independent installation environment

Recently, a student asked me, is there any difference between using the PHP integrated environment directly and the PHP environment we installed independently?

 

Answer: The PHP integrated environment is actually no different from the PHP environment installed by yourself, but most of the integrated environments have undergone some greening operations, which are essentially the same.

 

Let's first introduce the basic concepts of the integrated environment, the common PHP integrated environment and the choice of the integrated environment, and then explain in detail the specific differences between the PHP integrated environment and the installed version.

 

 

You should often hear the word WAMP, so what does WAMP mean?

 

Apache+Mysql+PHP under Windows, called WAMP .

The Apache+Mysql+PHP under the Linux system is called LAMP .

 

The difference between WAMP and LAMP is the operating system. All in all, it's just a name that helps to distinguish.

And this WAMP environment can be integrated, or it can be WAMP installed independently by yourself. Most of the WAMP mentioned usually refers to integrated.

 

 

WAMP can also be divided into the following three categories:

1. php integrated environment (integrates all the necessary components, after installing the integrated environment, you can run the website directly, although you do not need to install each component separately, but you still need to install the VC runtime library )

2. php green integrated environment (relatively speaking, it is a green php integrated environment. It integrates the VC runtime library itself , and does not need to install VC . It can be used directly after decompression, and the service can be closed when not in use, and it will not stay in the system.)

3. PHP independent installation version environment (installing each component independently, the operation is cumbersome, and it takes a certain amount of time to waste a certain amount of time, which is conducive to improving one's own configuration ability, and it is also more troublesome for novices to uninstall.)

 

 

The popular PHP integrated environments are as follows:

1、apmserv

 

 

2、xampp

 

 

3、phpnow

 

 

 

4、wampserver

 

 

5、PHPWAMP

 

 

 

The choice of the PHP integrated environment is to choose the integrated version or the green integrated version.

At present, most of the PHP integrated environments are not pure green. After installation, you need to install the VC runtime library by yourself. If you don't know enough about the PHP environment, it is not convenient to uninstall. Sometimes because multiple PHP integrated environments are installed, even if you use PHP The uninstallation function of the integrated environment itself is also difficult to uninstall. After uninstalling, you will encounter various strange problems. After uninstalling, the PHP environment cannot be installed and used normally. Therefore, it is recommended to use a pure green version of the PHP integrated environment, such as PHPWAMP. This pure green environment itself integrates the function of "forcibly uninstalling all PHP integrated environments", which can forcibly kill any PHP integrated environment with one click. The environment is simple and rude, in one step.

 

 

 

 

 

So what is the difference between the PHP integrated environment and the one you installed yourself?

 

It's like, you like to eat cakes, you can make them at home, or you can buy ready-made ones. So if you know more about cakes, then you can make cakes that are even better than those in the store. On the contrary, if you don't know how to make cakes, you should honestly go to the store and buy ready-made ones.

 

The same is true for the PHP integrated environment. If you have a good understanding of the PHP environment, you can configure it yourself. If you don’t know much about the relevant configuration, you can directly use the ready-made PHP integrated environment, but most integrated environment installation packages are relatively small. , because it has been simplified and the related components have been castrated, which is incomplete, and most of the PHP integrated environments are mainly used for local debugging. If you want to build a website directly on the server, it is recommended to use some more complete A non-castration version of the PHP integration environment, such as a green integration environment such as PHPWAMP (the installation package is not so small, and all the integrated components are full versions, without castration).

 

 

All in all, if you think you have a good understanding of the configuration of the PHP environment, then please configure it yourself. If you lack this knowledge, you can directly use the PHP integrated environment.

 

 

如果对PHP绿色集成环境在服务器上的应用感兴趣,

可以阅读我在CSDN博客上的这篇博文:http://blog.csdn.net/lccee/article/details/53945196

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327036977&siteId=291194637