How to check if PHP is running as an Apache Module or CGI Module?

To check if your PHP is running as a CGI module or Apache module please do the following:

- Open your phpinfo, then search for Server API

serverapi

- If you see “Apache” right next to “Server API” that means your PHP is running as an Apache Module, if you see “CGI” right next to “Server API” that means your PHP is running as a CGI module

Bookmark and Share
VN:F [1.8.0_1031]
Rating: 0.0/10 (0 votes cast)

Tags: , , ,

3 Responses to “How to check if PHP is running as an Apache Module or CGI Module?”

  1. [...] the followings to your php.ini/.htaccess (To find out which file to modify please check out this tutorials) <IfModule mod_security.c> SecFilterEngine Off [...]

Leave a Reply