Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with apache and php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nkalle
n00b
n00b


Joined: 23 Aug 2004
Posts: 60

PostPosted: Thu Jul 14, 2005 1:00 pm    Post subject: problem with apache and php Reply with quote

Hi all. Does anyone know why this is not working with PHP?

Here's my config (commonapache2.conf):

Alias /bla/ "/local/meineseite/htdocs/"

<Directory /local/meineseite/htdocs/>
AddHandler cgi-script .cgi
Options FollowSymLinks +Indexes +ExecCGI
DirectoryIndex index.cgi
# Options MultiViews Includes FollowSymLinks +ExecCGI
AllowOverride All AuthConfig
Allow from all
Order allow,deny
AddHandler php4-script .php
</Directory>

startuperror.log says: SyntaxOK
error log says:
[Thu Jul 14 01:45:55 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Thu Jul 14 01:45:55 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 14 01:45:55 2005] [notice] Digest: done
[Thu Jul 14 01:45:56 2005] [notice] Apache/2.0.54 (Gentoo/Linux) PHP/4.4.0 mod_ssl/2.0.54 OpenSSL/0.9.7e DAV/2 configured -- resuming normal operations

seems that php is getting started...

I have added the following Line to mime.types:

application/x-httpd-php .php

I have activated include modules.d/*.conf in apache2.conf


But I'm still getting the same error every time...

It's really threatening me...

Many Thanks

Niels
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Thu Jul 14, 2005 1:28 pm    Post subject: Reply with quote

Did you add "-D PHP4" to APACHE2_OPTS in /etc/conf.d/apache2?

And BTW: What is the error?

Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum