nazeel Posted October 21, 2006 Share Posted October 21, 2006 Dear AllHow 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 RegrdsNaz Quote Link to comment https://forums.phpfreaks.com/topic/24653-how-can-i-check-if-the-php-installed-as-apache-module/ Share on other sites More sharing options...
wildteen88 Posted October 21, 2006 Share Posted October 21, 2006 Create a new file called info.php and add the following to it:[code=php:0]<?phpphpinfo();?>[/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. Quote Link to comment https://forums.phpfreaks.com/topic/24653-how-can-i-check-if-the-php-installed-as-apache-module/#findComment-112298 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.