Click to See Complete Forum and Search --> : module or cgi?


soniared2002
07-18-2003, 01:03 PM
Hi all,
How can i check, and where? if my php is installed as module of appache or cgi?
Thanx
Sofia

tsinka
07-18-2003, 03:20 PM
Hi,

I think the easiest way without checking the configuration files is to create a little phpinfo script. Near the top of the output there will be a line in the first table, "Server API". It will either show something like e.g. "Apache 2 filter" or "Apache" or something like "cgi-bin" (in my case it shows "Apache 2 filter"). This way you'll know how php is installed.

Thomas