View Single Post
Old 02-02-2009, 04:12 AM   #2 (permalink)
planepixel
The Contributor
 
planepixel's Avatar
 
Join Date: Feb 2009
Posts: 28
Thanks: 10
planepixel is on a distinguished road
Default

create a file phpinfo.php
and write following code.
PHP Code:
<?php

phpinfo
();
?>
now save it in htdocs directory.

now go to 'localhost/phpinfo.php'

if you see information regarding php in tabular structure then your php is working fine. if not then php is not configured properly. I hope you are not opening php file from file menu of browser. usually if you try to open using file->open only then it start to download file as you mentioned.
planepixel is offline  
Reply With Quote