Hi,
I followed the procedure stated over here (
http://library.linode.com/lamp-guides/centos-5/).
Now two things have happened.
1) php.ini file is not in etc/php5/apache2/ as mentioned in the link above, instead it is in etc/
2) i created a test file, named index.php in srv/www/mysite.com/public_html , but when i try
http://74.207.246.56/index.php it pops up telling me to download the file. Before that, it was just displaying php file as text on screen after I wrote,
AddType application/x-httpd-php .php .foo
AddType application/x-httpd-php-source .phps .phtmls
DirectoryIndex index.php index.htm index.html
it is now displaying a pop-up to download index.php
Any help please.
Thanks in advance
Milan
-------------------
Update:
I restored the original httpd.conf file for apache and removed virtualhosts too.
Hence, now i placed file test.php in var/www/html/
and this is what i get
http://74.207.246.56/test.php
php is displayed as text.