Jump to content


How can i check if the php installed as Apache Module

  • Please log in to reply
1 reply to this topic

#1 nazeel

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 21 October 2006 - 12:18 PM

Dear All

How can check if the php is installed as an apache module or Installed as CGI or CLI?.

Is there any way to find out this out using phpinfo function?..

Thank you.

Best Regrds

#2 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 21 October 2006 - 01:55 PM

Create a new file called info.php and add the following to it:

Now upload that file to your website. And run it in the browser (http://mysitre.com/info.php) Now look for the following line:
Server API

After that it should state the API. If PHP is installed as an Apache Module it'll state Apache Handler. If its CGI it'll state CGI/FastCGI or someting similar.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users