I am new here.
I could not able to run my first script. I am using Windows XP.
First I have installed Apache server httpd-2.2.21-win32-x86-no_ssl.msi . I also installed PHP php-5.3.8-nts-Win32-VC9-x86.msi .
On the Apache Service Monitor I can Start, Stop server.
On the command prompt I got the details such as PHP version, built date,time etc. by executing php -v command.
On the browser I got "
It works!" when I typed address
http://localhost/
I placed phpinfo.php file in "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs".
My problem is I am getting output code of my PHP file phpinfo.php
The contains of file phpinfo.php
<html>
<body>
<?php
phpinfo();
?>
</body>
</html>
I am getting output as
<html>
<body>
<?php
phpinfo();
?>
</body>
</html>
Please help me!
Thanks in Advance.