PHP performance optimization (php. ini), performance optimization php. ini
Chapter 1 Optimization of excessive system callsMy Optimization Aimed at too many syscall calls, so I used strace to track apache for analysis.
1. apache2ctl-X &Use the-X
PHP performance optimization Daquan (php. ini), performance optimization php. ini. PHP performance optimization (php. ini), performance optimization php. chapter 1 of ini is aimed at optimizing too many system calls. my optimization is aimed at too
How Docker layouts PHP development environment, Docker layout PHP development
Environment deployment has always been a big problem, whether it is a development environment or a production environment, but Docker packages the development environment
installation PHP Mirrormethod One, through Dockerfile BuildCreate DockerfileFirst, create the directory php-fpm, which is used to store the related things behind.[Email protected]:~$ mkdir-p ~/php-fpm/logs ~/php-fpm/confThe logs directory will be
Deploying the Docker practice environment developed by PHP has always been a big problem. whether it is a development environment or a production environment, Docker packages the development environment and production environment in a lightweight
The first chapter is optimized for system calls too muchMy optimization for syscall calls too many problems, so use Strace to trace Apache for analysis.
1. Apache2ctl-x &Start the httpd process with the-X (debug) parameter, which starts only 1
1, for many code files said, especially contains a lot of include files (include or require). They need to spend more time and parse and generate intermediate code.
2, even if the PHP code file has not changed, the implementation process will be
1. Install PHPAPCDownload and unzip the installation package:
Copy codeThe Code is as follows: wget-c http://pecl.php.net/get/APC-3.1.13.tgz
Tar-zvxf APC-3.1.13.tgz
CdAPC-3.1.13
Compile and install:Copy codeThe Code is as follows: wget-c http://pecl.
PHP performance optimization summary. 1. for many code files, especially including many containing files (includeorrequire ). They need to spend more time and parse and generate intermediate code. 2. even if the PHP code file is not 1, many code
1. Install PHPAPCDownload and unzip the installation package:Copy codeThe Code is as follows:Http://pecl.php.net/get/APC-3.1.13.tgz wget-cTar-zvxf APC-3.1.13.tgzCdAPC-3.1.13Compile and install:Copy codeThe Code is as
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.