You want to check which version of PHP you have installed on your server. How would you do this?

  • By opening the php.ini file.
  • By using the phpinfo() function in a PHP script.
  • By checking the server's control panel.
  • All of the above.
The phpinfo() function can be used to check the installed version of PHP, among other things. When this function is called, it displays a large amount of information about the current state of PHP, including details about PHP compilation options and extensions, the PHP version, server information and environment, etc. Learn more: https://www.php.net/manual/en/function.phpinfo.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *