1 / 3
amogtech
2 / 3
mhk
3 / 3
ccg


Write the following code and save it as info.php in C > xampp > htdoc.

<?php

phpinfo();

?>

Open Web Browser and type localhost/info.php in it and press Enter. Then, you will see the php version as the below picture.

 


Share On:

What do you think?

Send us feedback!