Gentoo Archives: gentoo-user

From: "Boyd Stephen Smith Jr." <bss03@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't start apache [solved]
Date: Thu, 17 May 2007 11:30:01
Message-Id: 200705170622.05694.bss03@volumehost.net
In Reply to: Re: [gentoo-user] Can't start apache [solved] by Johannes Skov Frandsen
1 On Thursday 17 May 2007, Johannes Skov Frandsen <joe@×××××.com> wrote
2 about 'Re: [gentoo-user] Can't start apache [solved]':
3 > Well not entirley happy it turns out as I can't get apache to handle
4 > php.
5 >
6 > I added '-D PHP5' to APACHE2_OPTS in /etc/conf.d/apache2
7 >
8 > but when I restart apache i get this error:
9 >
10 > # /etc/init.d/apache2 restart
11 > * Apache2 has detected a syntax error in your configuration files:
12 > apache2: Syntax error on line 495 of /etc/apache2/httpd.conf: Syntax
13 > error on li
14 > ne 4 of /etc/apache2/modules.d/70_mod_php5.conf: API module structure
15 > `php5_modu
16 > le' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps
17 > this is not
18 > an Apache module DSO?
19
20 Did you install php before or after apache? It probably needs to be
21 recompiled against your current version. I'm stuck with a mod_ruby that
22 gives the same error and won't recompile right now.
23
24 --
25 Boyd Stephen Smith Jr. ,= ,-_-. =.
26 bss03@××××××××××.net ((_/)o o(\_))
27 ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
28 http://iguanasuicide.org/ \_/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Can't start apache [solved] Johannes Skov Frandsen <joe@×××××.com>