How to Check PHP Version
Three Parts:Create the DocumentUnderstand the CodeExecute the Code
There are many reasons why you need to know what version of PHP your web server is running. This article will tell you how to find that, as well as much other data.
Steps
Part 1 of 3: Create the Document
Part 2 of 3: Understand the Code
- These tags tell the PHP engine that the content within those tags should be executed as PHP.
<?php ?>
- This function instructs the PHP engine to tell us about itself.
phpinfo();
Part 3 of 3: Execute the Code
We could really use your help!
pink lemonade?

haircare and styling?

Minecraft?

digestive health?

Tips
- Instead of using phpinfo(), you can also use phpversion().
Things You'll Need
- A text editor
- A web server with PHP installed
Article Info
Categories: Web Programming | Answered Requests
In other languages:
Español: Cómo verificar la versión de PHP, Italiano: Come Controllare la Versione di un Server PHP, Português: Como Verificar a Versão do PHP
Thanks to all authors for creating a page that has been read 58,883 times.
About this wikiHow