Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54233 - Configuration - unrecognized APACHE2_OPTS?
Summary: Configuration - unrecognized APACHE2_OPTS?
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2004-06-17 15:41 UTC by Robert Muchacki (RETIRED)
Modified: 2005-04-23 19:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

My apache2.conf (apache2.conf,7.51 KB, text/plain)
2004-06-18 12:48 UTC, Robert Muchacki (RETIRED)
My commonapache.conf (commonapache2.conf,31.35 KB, text/plain)
2004-06-18 12:48 UTC, Robert Muchacki (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Muchacki (RETIRED) gentoo-dev 2004-06-17 15:41:31 UTC
This is what I get trying to start Apache2:

/sbin/ line 534:  2301 B??dna instrukcja       /usr/sbin/apache2 -t ${APACHE2_OPTS} >/dev/null 2>&1
 * Apache2 has detected a syntax error in your configuration files:
/sbin/ line 534:  2303 B??dna instrukcja       /usr/sbin/apache2 -t ${APACHE2_OPTS}

This is my configuration file:


I don't remember when it started to break. When I comment-out the APACHE2_OPTS line, or make it empty - ther server starts normally (of course, without PHP support). I re-emerged both apache2 and mod_php - effect the same. Any ideas?

Reproducible: Always
Steps to Reproduce:
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-17 19:28:10 UTC
go and check your config files, namely /etc/apache2/conf/modules.d/70_mod_php.conf or anywhere else you have 'IfDefine PHP4' or 'IfModule mod_php4.c'.
Comment 2 Minati jean michel 2004-06-18 07:01:53 UTC
maybe you could attach your apache conf, so we could look at it ?
Comment 3 Robert Muchacki (RETIRED) gentoo-dev 2004-06-18 12:48:09 UTC
Created attachment 33517 [details]
My apache2.conf
Comment 4 Robert Muchacki (RETIRED) gentoo-dev 2004-06-18 12:48:50 UTC
Created attachment 33518 [details]
My commonapache.conf
Comment 5 Minati jean michel 2004-06-19 06:58:27 UTC
thanks, you conf seems ok to me.
what is /etc/piwi/piwi-apache.conf ? can you show me the content ?
what about 70_mod_php.conf ? did you edit it ? 
Comment 6 Robert Muchacki (RETIRED) gentoo-dev 2004-06-19 07:06:20 UTC
PIWI was an app I used once - to test. But I don't use it anymore. I removed the line from the config and the effect is the same.

I never touched 70_mod_php.conf. Besides, I did an emerge -C apache mod_php and emerge apache mod_php again.
Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2005-01-30 05:06:27 UTC
could you please test current apache ebuilds (1.3.33-r1 and 2.0.52-r3, see and reopen this bug if the error still occurs
Comment 8 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 19:58:32 UTC
Comment 9 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 19:58:32 UTC
Closing.  Please re-open if this is still an issue.