PHP script display as text in browser
<p>I have installed PHP, Apache in my Linux server. <a href="http://localhost/index.htm" rel="nofollow">http://localhost/index.htm</a> displaying correctly. To test the PHP I have created test PHP file phpinfo.php. Here is the code in that file</p>

<pre><code>&lt;?php phpinfo(); ?&gt;
</code></pre>

<p>But when try to <a href="http://localhost/phpinfo.php" rel="nofollow">http://localhost/phpinfo.php</a>, browser displays script in the file. Apache did not execute the script in the file. What would be reason for this?</p>
