Weird...
Code:
module php5_module is already loaded
So php is installed & enabled - and has been all the time.
Let's get back to the beginning:
Quote:
|
I can get some html files to display, but it seems to be php ones that arnt working.
|
We need to find out the exact cause of the problem, it might not be php-related at all.
"..
some html files.." you say, and "...it seems to be php..."
Have you tested php?
If not, do that:
Create a PHP file. Name it test.php. The entire contents of the file are:
Code:
<?php
echo("<h1>Yay! PHP and Apache Work!</h1>");
?>
Copy this file to the document directory (/var/www)
Load this page in your browser by using the following URL:
http://localhost/test.php
If that works (and I think it will), check permissions for the files you can't access.
Check the directories as well! remember permission "x" is needed on a directory to view files in it!
If that gives nothing... hmmm have to think now.
Unfortunately it's past midnight here in my part of the world, got to get some sleep.
Rest of the world is awake though so keep posting!
If noone else has a clue I'll be back tomorrow!