Missing fcgid.c
I recently start using fcgid by selecting fcgi in Service Configuration, but whenusing httpd -l, it doesn't list fcgid.c as installed. Why is it not showing up?
root@superm [/usr/local/apache/bin]# ./apachectl -M
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_core_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_core_module (static)
access_compat_module (static)
auth_basic_module (static)
socache_shmcb_module (static)
socache_dbm_module (static)
so_module (static)
include_module (static)
filter_module (static)
http_module (static)
mime_module (static)
log_config_module (static)
logio_module (static)
expires_module (static)
headers_module (static)
setenvif_module (static)
proxy_module (static)
proxy_connect_module (static)
proxy_http_module (static)
slotmem_shm_module (static)
ssl_module (static)
mpm_prefork_module (static)
unixd_module (static)
status_module (static)
autoindex_module (static)
info_module (static)
suexec_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
rewrite_module (static)
bwlimited_module (shared)
fcgid_module (shared)
root@superm [/usr/local/apache/bin]# ./httpd -l
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_core.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_core.c
mod_access_compat.c
mod_auth_basic.c
mod_socache_shmcb.c
mod_socache_dbm.c
mod_so.c
mod_include.c
mod_filter.c
http_core.c
mod_mime.c
mod_log_config.c
mod_logio.c
mod_expires.c
mod_headers.c
mod_setenvif.c
mod_proxy.c
mod_proxy_connect.c
mod_proxy_http.c
mod_slotmem_shm.c
mod_ssl.c
prefork.c
mod_unixd.c
mod_status.c
mod_autoindex.c
mod_info.c
mod_suexec.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c-
Hello :) You can use the following command to see if it's used as your PHP handler: /usr/local/cpanel/bin/rebuild_phpconf --current
Thank you.0 -
Michael, The reason I'm asking this is because if it is currently using fcgi handler. Does this directives still work? If there is no mod_fcgid.c found from httpd -l? Thanks. FcgidBusyScanInterval 90 FcgidBusyTimeout 600 FcgidErrorScanInterval 3 FcgidFixPathinfo 1 FcgidIdleScanInterval 70 FcgidIdleTimeout 360 FcgidIOTimeout 1000 FcgidMaxProcesses 1000 FcgidMaxProcessesPerClass 100 FcgidMaxRequestInMem 268435456 FcgidMaxRequestLen 1073741824 FcgidMaxRequestsPerProcess 0 FcgidMinProcessesPerClass 3 FcgidOutputBufferSize 1048576 FcgidPassHeader HTTP_AUTHORIZATION FcgidProcessLifeTime 3600 FcgidSpawnScore 1 FcgidSpawnScoreUpLimit 10 FcgidTerminationScore 2 FcgidTimeScore 2 FcgidZombieScanInterval 3 0 -
Yes, those are valid entries in the pre_main_global.conf file. Thank you. 0 -
So this line is still valid even when mod_fcgid.c is not list in httpd -l? 0 -
[quote="OooLong, post: 1635861">So this line is still valid even when mod_fcgid.c is not list in httpd -l?
Yes, as long as you have enabled FastCGI support for the Apache web server via EasyApache. Note that it's normal to not see that module listed when using "httpd -l". Thank you.0 -
Last question. Here is my out put for /usr/local/cpanel/bin/rebuild_phpconf --current Available handlers: suphp fcgi cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: fcgi SUEXEC: enabled RUID2: not installed
Here is my httpd -l:Compiled in modules: core.c mod_authn_file.c mod_authn_core.c mod_authz_host.c mod_authz_groupfile.c mod_authz_user.c mod_authz_core.c mod_access_compat.c mod_auth_basic.c mod_socache_shmcb.c mod_socache_dbm.c mod_so.c mod_include.c mod_filter.c http_core.c mod_mime.c mod_log_config.c mod_logio.c mod_expires.c mod_headers.c mod_setenvif.c mod_proxy.c mod_proxy_connect.c mod_proxy_http.c mod_slotmem_shm.c mod_ssl.c worker.c mod_unixd.c mod_status.c mod_autoindex.c mod_info.c mod_suexec.c mod_cgi.c mod_negotiation.c mod_dir.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c
I double checked and FastCGI is enabled via EasyApache. Any idea why it is not listed? does it still work 100% as is?0 -
Yes, as mentioned, it's normal to not see that module listed when using "httpd -l" because it's compiled into the source. You could run "service httpd status" and look for the "mod_fcgid" under the "Server Status" information. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments