Hi Linux gurus,
I made a big mistake. I installed apache and php for windows and was successful. I can view my php files but not so long....
When I opened my php file on my windows explorer I was asked to open it using programs listed. I choose mozilla to open it and thats it. My mistake had finally come to pass.
Instead of opening my php file in my browser using http://localhost/sample.php
I used programs to open it. Now, whenver i open a php file the codes are being displayed in the browser instead of running it.
How can I rectify my mistake?
I already have this entry on my httpd.conf
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .shtml
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.php index.php4 index.htm default.php index.php3 index.html.var index.shtml