1 |
Johannes Skov Frandsen skrev: |
2 |
> Randy Barlow skrev: |
3 |
>> -----BEGIN PGP SIGNED MESSAGE----- |
4 |
>> Hash: SHA1 |
5 |
>> |
6 |
>> Johannes Skov Frandsen wrote: |
7 |
>> |
8 |
>>> The server obviously don't s start, but I get no error messages and I |
9 |
>>> can't locate the server log (httpd.conf suggest they are located in |
10 |
>>> /usr/lib/apache2/ |
11 |
>>> but htere is no logs there). |
12 |
>>> |
13 |
>> |
14 |
>> The default location for Gentoo is /var/log/apache2 so check in there to |
15 |
>> see if there are any errors. |
16 |
>> |
17 |
>> |
18 |
> I have this error in my log: |
19 |
> |
20 |
> [Thu May 17 10:30:22 2007] [alert] (EAI 2) Name or service not known: |
21 |
> mod_unique$ |
22 |
> Configuration Failed |
23 |
> |
24 |
> so i search google and found this page: |
25 |
> http://www.linuxforums.org/forum/redhat-fedora-linux-help/16212-apache-webserver.html |
26 |
> |
27 |
> |
28 |
> and added this line to my hosts file: |
29 |
> |
30 |
> 127.0.0.1 localhost.localdomain localhost |
31 |
> |
32 |
> apache starts and everybody is happy :-) |
33 |
> |
34 |
> Thanks for the pointer... |
35 |
> |
36 |
> Joe |
37 |
Well not entirley happy it turns out as I can't get apache to handle php. |
38 |
|
39 |
I added '-D PHP5' to APACHE2_OPTS in /etc/conf.d/apache2 |
40 |
|
41 |
but when I restart apache i get this error: |
42 |
|
43 |
# /etc/init.d/apache2 restart |
44 |
* Apache2 has detected a syntax error in your configuration files: |
45 |
apache2: Syntax error on line 495 of /etc/apache2/httpd.conf: Syntax |
46 |
error on li |
47 |
ne 4 of /etc/apache2/modules.d/70_mod_php5.conf: API module structure |
48 |
`php5_modu |
49 |
le' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps |
50 |
this is not |
51 |
an Apache module DSO? |
52 |
|
53 |
I have php 5.2.2 istalled. |
54 |
|
55 |
can't seem to find the right explenation for this behavior searching |
56 |
google...any ideas any one? |
57 |
|
58 |
Joe |
59 |
|
60 |
|
61 |
|
62 |
-- |
63 |
gentoo-user@g.o mailing list |