Verifying PHP Installation


How To Verify Your PHP Installation?



PHP provides two execution interfaces: Command Line Interface (CLI) and Common Gateway Interface (CGI). If PHP is installed in the \php directory on your system, you can try this to check your installation:

  • Run "\php\php -v" command to check the Command Line Interface (CLI).
  • Run "\php\php-cgi -v" command to check the Common Gateway Interface (CGI).

If you see PHP printing the version information on your screen for both commands, your installation is ok.


⇒Downloading and Installing PHP

⇒⇒PHP Tutorials

2016-10-13, 1235👍, 0💬