Using a subdirectory, index.php is working. I tried to find .htaccess file, but didn't find any.
2009/12/12 James Milligan <li...@lake54.com>: > On 12/12/2009 14:14, Daniel Roels wrote: >> Hi all, >> >> I have a quite strange problem. >> I installed apache2, mysql 5.1 and php5 all on a ubuntu 9.10. >> All went fine, and php files are parsed correctly... as long as it's >> name is not index.php. >> Renaming index.php to index2.php or even blabla.php makes the latter >> work as a charm. >> The problem is http://localhost/index.php which gives states it's a >> php file, and there is a question what to do with it. >> Same with http://localhost/ which gives a lightly different error >> about phtml and the same question dialog. >> >> I already searched everywere, including the config files but didn't >> find anything. >> >> Hope some of you could help me out. >> Regards, >> Daniel >> >> > What happens if you used a subdirectory, e.g. localhost/test/index.php? > > Could also be to do with your HTACCESS file but I doubt it. > > James > > -- > ubuntu-uk@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk > https://wiki.ubuntu.com/UKTeam/ > -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/