I just found two executable files, php-cgi.exe and php.exe in the bin folder of the WAMP server on my laptop. I am learning PHP and could not figure out the difference. What is difference between them?
I just found two executable files, php-cgi.exe and php.exe in the bin folder of
Share
PHP CLI is the command-line interface for PHP (e.g. for creating standalone applications)
PHP CGI is the common gateway interface for PHP (e.g. for web applications)