I am using IIS for php.
I want to confirm whether it uses fastcgi or cgi
I used

php_sapi_name()

and it gives "cgi-fcgi" I don't know what does it mean
Is there any other way to find the same

Recommended Answers

All 2 Replies

That means you are using FastCGI, you can also use echo PHP_SAPI;

Thanks!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.