-   Debian (
-   -   problem with accessing websites located in subdirs (

lord_didger 11-11-2011 11:06 AM

problem with accessing websites located in subdirs
I am not familiar with apache config files. I used to install one on my debian with simple configuration: change the DocumentRoot. Now I have a problem. I can't access subdirectories located within DocumentRoot. Moreover, when I enter localhost/index.php with, my browser offer me to download the file.

However, I can see index.php is executed when I enter localhost in my browser.

My apache2 is 2.2.21-2 and libapache2-mod-php5 is

What should I change in order to get it work as expected or could you redirect me to a site where I can find answer (a manual or whatever). I have not studied apache config syntax and I am not so willing to. Just looking for the answer.

lithos 11-11-2011 11:26 AM

At least some manuals you will have to take a look at:
- installing PHP on Apache 2
or similar on google

All times are GMT -5. The time now is 06:42 AM.