19. SAPI ... schmapi
Mod_php FastCGI CLI
Web Apache module gateway ‐
Process Apache process php‐cgi php
ConfiguraTon Apache conf files wrapper on the fly
shell user or
User Apache user shell user
suexec user
20. FastCGI
Example config:
• Apache handler
<IfModule mod_fcgid.c>
SuexecUserGroup dev dev
PHP_Fix_Pathinfo_Enable 1
<Directory /var/www/dev/www/>
Options +ExecCGI
AllowOverride All
AddHandler fcgid‐script .php
FCGIWrapper /var/www/dev/etc/fcgi.wrapper .php
Order allow,deny
Allow from all
</Directory>
</IfModule>