I am learning jQuery from Head First jQuery. But first they have asked me to install Apache, PHP and MySQL(in that order). Apache is successful. Up and running. Version 2.2.22 of Apache for Windows XP. I downloaded php-5.2.17-Win32-VC6-x86.msi(file name) and installed. Successful. So just to make sure php was working, I typed this code and saved it as info.php in my htdocs folder(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs):-
<?php phpinfo(); ?>
When I type localhost/info.php
in the url bar, it simply shows the text <?php phpinfo(); ?>. What is wrong?