Today in the building Lnmp compiled PHP, error: Configure:error:jpeglib.h not found. This article will share with you how to solve this kind of problem.
[Root@cac3 php-5.6.22]#./configure \>--prefix=/usr/local/php5/\>--ENABLE-FPM \>--enable-mbstring
PHP Compilation Installation Series
Xu Liangwei, Hu Hu called the benchmark Xu. Years of experience in Internet operation and maintenance, has been responsible for large-scale cluster architecture automation operation and maintenance
Background information:Previously, because the price of AWS EC2 more expensive and rented other foreign small vendors VPS, after using more than 3 years, found that the AWS EC2 Price is much cheaper than the VPS currently in use.The T1.MICRO model
I. FastCGIThe Fast Universal Gateway Interface (socket) is supported by the general Web program for the HTTP server to communicate with the program services on other machines.LNMP operation process and analytic principlePrinciple
Objective
This article is to introduce the use of Docker to make nginx+php mirror image, the mirror in this article is CentOS + nginx 1.9.7 + PHP 5.6.14, the following words do not say more directly to see the implementation of the steps.
1, first
View the directory structure of Nginx and PHP:[email protected] docker_demo]# tree Nginxnginx├──dockerfile├──fastcgi_params├──nginx-1.8. 1. Tar . gz├──nginx.conf└──www.conf[email protected] docker_demo]# tree
Unlike lamp, the Web service is Nginx, and PHP is a standalone service, and the service is called PHP-FPM. Nginx handles static requests directly, and dynamic requests are forwarded to PHP-FPM. Therefore, in the static page processing, Nginx more
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.