Mailinglisten-Archive |
Hallo Michael,
ich habe mal in meinem Apache Startscript nachgesehen.
> > > Da könnte aber auch das Problem sein:
> > > Überprüfe mal im Startscript vom Apache (/sbin/init.d ist nun
/etc/init.d) mit welchen
> > > Optionen der aufgerufen wird.
In meiner
/sbin/init.d ist nun /etc/init.d
steht folgendes:
#
# check for Midgard and PHP3 support, which are mutually exclusive
#
if [ -e /usr/lib/apache/libphp3-midgard.so ]; then
test ! "$HTTPD_SEC_MOD_MIDGARD" == "no" && MODULES="-D MIDGARD
$MODULES" && echo -n "
Midgard"
else
if ! test "$HTTPD_SEC_MOD_PHP" == "no" ; then
test -e /usr/lib/apache/libphp3.so \
&& MODULES="-D PHP $MODULES" && echo -n " PHP3"
fi
fi
#
# check for PHP4 support
#
if ! test "$HTTPD_SEC_MOD_PHP" == "no" ; then
test -e /usr/lib/apache/libphp4.so || \
test $(/usr/sbin/httpd -l | grep "mod_php4.c") = "mod_php4.c" 2>
/dev/null \
&& MODULES="-D PHP4 $MODULES" && echo -n " PHP4"
fi
#
# main part
#
case "$1" in
start)
echo -n "Starting httpd ["
check_modules yes ;
echo -n " ]"
if $HTTPD_BIN $INET6 -t -f /etc/httpd/httpd.conf $MODULES >
/var/log/httpd/rcapache.log 2>
&1 ; then
startproc -t $HTTPD_START_TIMEOUT $HTTPD_BIN $INET6 -f
/etc/httpd/httpd.conf $MODU
LES || return=$rc_failed
else
if [ $link = $base ] ; then
echo -e -n "\n\n"
cat /var/log/httpd/rcapache.log
else
echo -e -n "\nsee /var/log/httpd/rcapache.log for
details\n";
fi
return=$rc_failed ;
fi
if test -e /var/log/ssl_scache.dir ; then
chown wwwrun /var/log/ssl_scache.dir ;
fi
if test -e /var/log/ssl_scache.pag ; then
chown wwwrun /var/log/ssl_scache.pag
fi
echo -e "$return"
;;
Ist das soweit korreckt?
Oder muß ich da noch irgend etwas ändern?
Herzlichen Dank und bis bald
Manfred Gnädig
php::bar PHP Wiki - Listenarchive