欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Install FastCGI Development Kit

程序员文章站 2022-07-14 23:29:57
...

安装fcgi_stdio包

源码下载地址:https://github.com/eatonphil/fastcgi-development-kit/releases

tar -zxvf fastcgi-development-kit-2.4.0.tar.gz
cd fastcgi-development-kit-2.4.0
./configure
make
make install

检测fcgi_stdio.h是否安装完毕

find / -name 'fcgi_stdio.h'

已经安装到系统库文件

/usr/local/include/fcgi_stdio.h

现在可以在C文件中直接使用fcgi_stdio.h,编写fast-cgi程序了;

#include "fcgi_stdio.h"
...