1 Answer
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
Your Answer
x