no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
 
|  |  | 
| — | apache_mod_fcgid [2015/06/02 03:01] (current)  – created - external edit 127.0.0.1 | 
|---|
|  | ====== Apache mod_fcgid ====== | 
|  |  | 
|  | * [[Apache]] | 
|  |  | 
|  | * [[https://httpd.apache.org/mod_fcgid/|Homepage]] | 
|  |  | 
|  | ''mod_fcgid'' is the Fast CGI module from Apache.  It can be used to run CGI programs, such as ''php-fpm'' or ''php-cgi''.  It is not included with Apache, and must be downloaded and installed separately. | 
|  |  | 
|  | The program uses ''apxs'' to find the Apache build system configuration.  You can override the default location of the program with the ''APXS'' environment variable: | 
|  |  | 
|  | <code> | 
|  | APXS=/usr/local/apache2/bin/apxs ./configure.apxs | 
|  | </code> | 
|  |  | 
|  | Build and installation is simple: | 
|  |  | 
|  | <code> | 
|  | ./configure.apxs | 
|  | make | 
|  | make install | 
|  | </code> | 
|  |  | 
|  | ==== OS X ==== | 
|  |  | 
|  | When building ''mod_fcgid'' against the native installation of Apache, the link for the gcc compiler has changed, and a symlink will need to be made.  I haven't found any way to be able to override the values set by apxs, so this will have to do: | 
|  |  | 
|  | <code> | 
|  | ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain | 
|  | </code> |