Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
Re: [SLE] Configuring Apache for php on SuSE 9.3 Pro
  • From: peter <apvx95@xxxxxxxxxxxxx>
  • Date: Sat, 13 May 2006 11:55:42 +0100
  • Message-id: <4465BB2E.20600@xxxxxxxxxxxxx>
Per Jessen wrote:

OK, sounds good. And you also have a "DirectoryIndex index.php"
statement, right? Did you have multiple of those? I would stick to
just one "DirectoryIndex index".


(see below)

That could suggest a segfault somewhere. Have you checked the
error-logs, e.g. /var/log/apachex/error* ?

(see below)

Right - that says that the file being served has not been processed by
the php interpreter, and is being served raw. So somehow the php
interpreter isn't being invoked or isn't working.

Your software-versions look good - just about the same that I'm using. What about the <Files> section you showe at some point - have you also
tried without it? I don't use one of those.

Per (and everyone else)

I've cracked it. I uninstalled everything to do with Apache and PHP and then reinstalled using YaST. Now it all "just works".

Although I've not had time yet to investigate fully, here's what I suspect happened ...

For the last 8 months I've been working with Mono, doing a project for my MSc. If you're interested, or suffer from insomnia, you can see the results at:

http://www.peredur.uklinux.net

When I reinstalled apache2 and php4, YaST complained about some broken dependencies and said that it would have to uninstall mod_mono and subversion. It also had to downgrade a library - although I can't remember which one, now.

So I think there was some conflice here, possibly because I used Red Carpet for Mono, rather than YaST.

Anyway, the upshot is that it all now works.

Thank you very much for taking an interest and providing such a great deal of help. I hope that one day I'll be able to return the favour.

Best regards

Peter


< Previous Next >