The subject is very near the one of viewtopic.php?f=1&t=42342&p=166869&hilit=php+rendering#p166869 because my problem is the same, that is: "... when I save a file with a .php extention and try to open it in browser, rather than rendering the download sheild appears. Have checked and rechecked my Apache ..."
Here is the files organisation:
- Code: Select all
+/opt/lampp/htdocs/
| +----- webalizer/
| +----- www.site.net/
| ----- index.html
| ----- index.php
| ----- other files
| +---- other directories/
| +----- xampp/
| ------ ~favicon.ico
| ------ ~index.php
So typing in the URL part of the browser "http://hostname/xampp/" works fine, including "http://hostname/xampp/phpinfo.php". Typing "http://hostname/www.site.net/" renders the content of the file "index.html", but on typing "http://hostname/www.site.net/index.php", the browser opens a dialog-box...
I realy dont understand and I feel stupid, the contents of xampp being correctly displayed...
Thank you for reading this post,
Patrick