This is what I get trying to start Apache2: /sbin/runscript.sh: 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/runscript.sh: line 534: 2303 B??dna instrukcja /usr/sbin/apache2 -t ${APACHE2_OPTS} This is my configuration file: APACHE2_OPTS="-D PHP4" PIDFILE=/var/run/apache2.pid RESTARTSTYLE="graceful" 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: 1. 2. 3.
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'.
maybe you could attach your apache conf, so we could look at it ?
Created attachment 33517 [details] My apache2.conf
Created attachment 33518 [details] My commonapache.conf
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 ?
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.
could you please test current apache ebuilds (1.3.33-r1 and 2.0.52-r3, see http://dev.gentoo.org/~vericgar/package-refresh.txt) and reopen this bug if the error still occurs
Closing.
Closing. Please re-open if this is still an issue.