[php] phpinfo() is not working on my CentOS server

Save the page which contains

<?php
    phpinfo();
?>

with the .php extension. Something like info.php, not info.html...