[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed: PHP not working with apache 2.2.3-3.1



I am having a different problem when trying to view PHP pages served from my box.  When I attempt to put php5.load and php5.conf into /etc/apache2/mods-enabled/ from /etc/apache2/mods-available/, I get the error message: "Invalid command 'AddType'.

Any thoughts?

KP

On 11/16/06, Lukas Ruf <ruf@rawip.org> wrote:
Edward,

Thanks for answering!

> On Sun, Nov 12, 2006 at 09:49:20AM +0100, Lukas Ruf wrote:
> > Dear all,
> >
> > since the change from apache 2.0 to 2.2 was made with debian
> > unstable, I have not been able to get php (4 or 5) working as an
> > apache 2.2 module.
> >
> > Until before the change, I have been operating a wiki and made
> > heavily use of php for dynamic web-pages.
> >
>
> What are the errors, if any, that you're getting? Are there any hints in
> /var/log/apache2/* ?

The following error messages are found:

[Thu Nov 16 19:38:03 2006] [error] [client ] \
  (13)Permission denied: exec of '/usr/share/dokuwiki/index.php' failed
[Thu Nov 16 19:38:03 2006] [error] [client ] \
  Premature end of script headers: index.php

However access rights have not been modified:

  euphrat:dokuwiki!65> ls -ld /usr
  drwxr-xr-x 11 root root 4096 2006-03-25 04:49 /usr/
  euphrat:dokuwiki!66> ls -ld /usr/share
  drwxr-xr-x 206 root root 4096 2006-11-12 09:44 /usr/share/
  euphrat:dokuwiki!67> ls -ld /usr/share/dokuwiki
  drwxr-xr-x 5 root root 4096 2006-11-08 07:02 /usr/share/dokuwiki/
  euphrat:dokuwiki!68> ls -ld /usr/share/dokuwiki/index.php
  -rw-r--r-- 1 root root 185 2006-11-06 20:32 /usr/share/dokuwiki/index.php

and

  euphrat:dokuwiki!82> ls -ld dokuwiki.php
  -rw-r--r-- 1 root root 8579 2006-11-06 20:43 dokuwiki.php
  euphrat:dokuwiki!83> ls -ld /etc/dokuwiki
  drwxr-xr-x 4 root root 4096 2006-11-08 07:02 /etc/dokuwiki/
  euphrat:dokuwiki!84> ls -ld /etc
  drwxr-xr-x 149 root root 8192 2006-11-16 18:53 /etc/

Any further ideas?

Thanks in advance.

wbr,
Lukas
--
Lukas Ruf   < http://www.lpr.ch> | Ad Personam
rbacs      <http://wiki.lpr.ch> | Restaurants, Bars and Clubs
Raw IP   <http://www.rawip.org> | Low Level Network Programming
Style  <http://email.rawip.org> | How to write emails
<http://lists.lpr.ch/muttprint> | muttprint mailing list


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: