Jump to content

Archived

This topic is now archived and is closed to further replies.

nazeel

How can i check if the php installed as Apache Module

Recommended Posts

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
Naz

Share this post


Link to post
Share on other sites
Create a new file called info.php and add the following to it:
[code=php:0]<?php
phpinfo();
?>[/code]

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

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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.