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

2006-11-16 Thread Lukas Ruf
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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Help needed: PHP not working with apache 2.2.3-3.1

2006-11-12 Thread Lukas Ruf
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.

Therefore, I kindly ask you for any support that helps me fixing that
problem.

My system information:
  -- System Information:
  Debian Release: 4.0
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'unstable')
  Architecture: i386 (i686)
  Shell:  /bin/sh linked to /bin/bash
  Kernel: Linux 2.6.17.14-euphrat
  Locale: LANG=en_IE, LC_CTYPE=en_IE (charmap=ISO-8859-1)

euphrat:mods-enabled!69 more php5.conf
IfModule mod_php5.c
  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps
/IfModule

euphrat:mods-enabled!70 sudo apache2ctl -M
Loaded Modules:
[...]
 python_module (shared)
 negotiation_module (shared)
 perl_module (shared)
 php5_module (shared)
[...]
Syntax OK

euphrat:mods-enabled!72 dpkg -l \*php\* | grep '^ii'
ii  libapache2-mod-php5  5.2.0-3  server-side, HTML-embedded 
scripting languag
ii  php-fpdf 1.53.dfsg-5  PHP class to generate PDF 
files
ii  php-pear 5.2.0-3  PEAR - PHP Extension and 
Application Reposit
ii  php5 5.2.0-3  server-side, HTML-embedded 
scripting languag
ii  php5-cgi 5.2.0-3  server-side, HTML-embedded 
scripting languag
ii  php5-cli 5.2.0-3  command-line interpreter for 
the php5 script
ii  php5-common  5.2.0-3  Common files for packages 
built from the php
ii  suphp-common 0.6.1.20061108-1 Common files for mod suphp

euphrat:mods-enabled!74 dpkg -l '*libc*' | grep '^ii'
ii  glibc-doc2.3.6.ds1-8
 GNU C Library: Documentation
ii  libc62.3.6.ds1-8
 GNU C Library: Shared libraries
ii  libc6-dev2.3.6.ds1-8
 GNU C Library: Development Libraries and Hea
[...]

Further information needed?

Thanks for any help!

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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2006-11-12 Thread Edward Shornock (debian ml)
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/* ?


signature.asc
Description: Digital signature