0

Difference between php-CGi and php-CLI

May I know what is the difference between php-CGi and php-CLI and also i saw SAPI what was that.. How it works in my php, pls expain since am newbie to php backend.

Kali Linux Php Add a comment
elijah
asked May 12 2017

Answer

0

php-cli will run PHP on command-line only. Whereas php-cgi have HTTP headers that helps to run PHP in Web applications.

In simple, PHP-cli for standalone applications PHP-cgi for web applications

Add a comment
jagannatharumugam
asked May 12 2017
edited Oct 05 2018
Post your Answer