tags:

views:

44

answers:

1

If I haven't setup FastCGI or mod_php, does that mean my vanilla Apache2 uses CGI for PHP?

+2  A: 

Use php_sapi_name() to find out.

Ignacio Vazquez-Abrams
returns `apache2handler`. in my mods enabled I see php5.conf - so does this mean it uses mod_php and not cgi?
meder
That is correct.
Ignacio Vazquez-Abrams