Reputation: 186742
If I haven't setup FastCGI or mod_php, does that mean my vanilla Apache2 uses CGI for PHP?
Upvotes: 2
Views: 1504
Reputation: 2569
phpinfo()
includes this information on it's third row of output as 'Server API'.
In your case (running under mod_php), 'Apache 2.0 Handler' will be displayed.
For one reason or another, php_sapi_name()
didn't work for me.
Upvotes: 6