# in httpd.conf of Apache 2.4
LoadModule fcgid_module modules/mod_fcgid.so
#FcgidIPCDir "/tmp/fcgidsock"
FcgidMaxProcessesPerClass 100
Require all granted
SetHandler fcgid-script
Options +ExecCGI
FcgidWrapper "/usr/local/my_site/bin/start-fcgi.sh" virtual
Require all granted
# in start-fcgi.sh is just one line after shebang:
# exec plackup -s FCGI app.psgi