How to know for sure if FastCGI is being used to run php scripts

前端 未结 8 922
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 14:51

I have a hosted site and I\'m having trouble configuring Joomla (running Joomla + php + mySQL on IIS7 + win server 2008). I have a similar configuration running on a local m

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 15:54

    php_sapi_name() or PHP_SAPI, both work.

    http://php.net/manual/en/function.php-sapi-name.php

提交回复
热议问题