Home > Article > Backend Development > Detailed graphic and text explanation of the steps to install multiple PHP under windows
This article will introduce to you how to install multiple php in the window system. Here I will introduce it to you in the form of pictures and texts. I hope it will be helpful to friends in need~
Install multiple windows php
PHP (PHP: Hypertext Preprocessor) is a "hypertext preprocessor". It is a scripting language executed on the server side. It is especially suitable for web development and can be embedded. in HTML. PHP syntax learned the C language, absorbed the characteristics of multiple languages of Java and Perl to develop its own unique syntax, and continued to improve itself based on their strengths, such as Java's object-oriented programming. The main goal of the language was originally created to make Developers quickly write high-quality web sites. PHP supports both object-oriented and process-oriented development, and is very flexible in use. [Recommended learning: PHP video tutorial]
php81.bat
@"D:\phpstudy_pro\Extensions\php\php8.1.1nts\php.exe" %*
There are two common operating modes of PHP, namely php-fpm and php-cli. When PHP chooses to run in php-fpm mode, all variables are page-level, whether they are global variables or static members of the class, they will be cleared after the page is executed. When running in php-cli mode, the program can be resident in memory. Various variables and database connections can be stored in memory for a long time to realize resource reuse. The performance can be greatly improved. Although php-cli is more complex to develop, it can be obtained Higher performance requires a higher level of development for developers. A more common mode is to write a cli framework in combination with swoole components. Various variables can be saved in a cross-process high-performance shared memory Table, which can be developed to support Hot-start php-cli is reliable for various application systems.
This article is reprinted, the reprint address is: https://juejin.cn/post/7168297969605689352
The above is the detailed content of Detailed graphic and text explanation of the steps to install multiple PHP under windows. For more information, please follow other related articles on the PHP Chinese website!