Verifying PHP Installation in MySQL


How To Verify Your PHP Installation in MySQL?



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.


⇒PHP Connections and Query Execution for MySQL

⇒⇒MySQL Database Tutorials

2017-07-30, 3998👍, 0💬