Modify and compile the spawn-fcgi because the FastCGI process cannot be started after spawn-fcgi is started. So I modified the source code: download the code [plain] wget http://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-1.6.3.tar.gz . Modify and compile the spawn-fcgi because after spawn-fcgi is started, the-u root cannot start the FastCGI process. So I modified the source code: download the code [plain] wget http://download.lighttpd.net/spawn-fcgi/releases-1.6.x/spawn-fcgi-1.6.3.tar.gz Decompress the package and enter the directory. comment out a piece of code in the src/spawn-fcgi.c File: [plain]/* if (my_uid = 0) {fprintf (stderr, "spawn-fcgi: I will not set uid to 0 \ n "); return-1 ;}*/There are two similar annotations. Run./configure and compile make install. copy it manually. Try again now.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service