On Thu, 2010-08-19 at 09:41 +0100, e-letter wrote: > On 19/08/2010, David McGlone <david@xxxxxxxxxxxxx> wrote: > > On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote: > >> On 18/08/2010, David McGlone <david@xxxxxxxxxxxxx> wrote: > >> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote: > >> >> On 18/08/2010, David McGlone <david@xxxxxxxxxxxxx> wrote: > >> >> > > >> >> > Do you have php5 installed? > >> >> > > >> >> Yes, but don't know how to confirm; I used urpmi to install. > >> > > >> > Use the command in a terminal: rpm -q php5 > >> > > >> No package by this name in the repository; have libphp5_common5 installed. > > > > Ok let me ask you this, When you try to view a php file on your server > > does it ask you if you would like to download it? > > I don't understand: isn't the example I provided a php file? > I think it's fairly clear that for whatever reason, PHP isn't properly configured with Apache. You've mentioned you're using Mandriva, which, coincidentally, is what i've just recently installed on my home machine. It has a very good graphical package manager that you can use to install PHP and Apache. I'm not at my home machine right now, so I don't recall the exact name, but it's found somewhere in the Computer Settings main menu dialogue. From here, you can install Apache and PHP, which will configure Apache as well to recognise PHP scripts and execute them. Thanks, Ash http://www.ashleysheridan.co.uk