
php5.4.0 installation (Inwindows), configure Apache, MySQL, phpMyAdmin, zendOptimizer, xdebug
1: Download php5.3.8 for windows. To explain, there are two versions of windows on the official website, The above is a non-thread-safe VC9 x86 Non Thread Safe, and the files php5apache2_2.dll are missing, and the size is 14.93M. The Thread Safe version below is what we need, the size is 15.06M Click here to download php5.3.8 for windows VC9 X86 Click here to download php5.4.0 for windows VC9 X86 As for VC6 and VC9, one supports apache and the other supports IIS. But I tried to use VC9 on apache without any problem. Thread Safe (TS) and Non-Thread Safe (NTS), is whether to perform thread safety checks during execution, so as to prevent the newly built CGI execution mode from being launched when there are new requirements, and then exhausting system resources. p> The implementation methods are ISAPI and FastCGI, The former ISAPI (Internet Server Application Programming Interface) is used in the form of a DLL dynamic link library. It is executed after a user request and will not disappear immediately after processing a user request. Therefore, a thread safety check is required. In order to Improve the execution efficiency of the program. Therefore, to execute PHP in the way…

Docker quickly builds a PHP, Nginx, MySQL, Redis, Xdebug, Memcached development environment and evolves
Pain points When the author tries to start a new web project, he often falls into the tedious task of re-establishing a Docker environment. I think that when you start a new project, or quickly in order to completely isolate it from previous projects, you will also set up a new docker environment. What you will get from this article Use docker-compose container orchestration technology to start all services in one step. On the official basis, the php container also packs some commonly used extensions (with build source code, you can package it yourself if you have strong hands-on skills), php, nginx, and mysql all come with custom configuration files (easy to configure and adjust for development and testing), all for download . Structure The environment built by this article is shown in the picture above. Environment description Operating environment Mac OS 10.13.6 Virtual Box 5.2.14 Ubuntu 16.04.4 Docker 17.07.0-ce Container Nginx 1.12.1-alpine PHP-fpm 5.6 MySQL 5.7 Redis 3.2 Memcached 1.4.27 Here to explain the author’s operating environment. I installed the vbox virtual machine on the Mac machine, installed the Docker environment in the debian environment inside the virtual machine, and placed the files in the Mac environment. Through the…