View previous topic :: View next topic |
Author |
Message |
nkalle n00b
Joined: 23 Aug 2004 Posts: 60
|
Posted: Thu Jul 14, 2005 1:00 pm Post subject: problem with apache and php |
|
|
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 |
|
|
Kruegi Guru
Joined: 09 Feb 2005 Posts: 406 Location: Clausthal-Zellerfeld; DE
|
Posted: Thu Jul 14, 2005 1:28 pm Post subject: |
|
|
Did you add "-D PHP4" to APACHE2_OPTS in /etc/conf.d/apache2?
And BTW: What is the error?
Thomas |
|
Back to top |
|
|
|