[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Apache not starting with PHP4 module (was: RE: [cobalt-users] Problem with PHP4 mysql support)
- Subject: RE: Apache not starting with PHP4 module (was: RE: [cobalt-users] Problem with PHP4 mysql support)
- From: Seth Mos <knuffie@xxxxxxxxx>
- Date: Mon Aug 21 14:05:48 2000
At 10:29 PM 8/21/00 +0200, you wrote:
Hi,
> Stop the httpd /etc/rc.d/init.d/httpd or "killall httpd".
> then run httpd -X on the console.
>
> See if that spits out any errors. It should.
It does - "Segmentation fault" and that's it.
Oops :-)
> You als did check /var/log/error_log did you?
Yeah I sure did (-: But it doesn't show anything, because it looks
like apache is crashing before it gets a chance to write anything
in there...
OK ;-))
> btw I use to compile without modules (don't know why).
> httpd binary gets fatter but what the heck. Modules should
> _NOT_ be different. Good results so far.
Well, I don't want to mess up my apache binary, too. That would
really be a problem (-;
Told you before and I will say it again: I like to break stuff while
learning :-)
I will attach a spec file that configures it just like the cobalt do (as
far as httpd -V goes)
> You did do a "make distclean" before reconfiguring did you ;-)
> That makes sure your config.cache gets wiped.
Yeah, sure did that - didn't do any good (-;
Your to fast, it's still compiling over here :-)
Apache that is. I had to make it modular first berfore I can make the php
module.
The config I included has a line commented out.
It is suppose to be there if you configure it static.
The php SPEC is also included.
crud. mailman doesn't like attachments (bouncing off the wall)
Included inline
Apache SPEC ----
./configure \
--prefix=/etc/httpd \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib/apache \
--mandir=/usr/man \
--sysconfdir=/etc/httpd/conf \
--datadir=/home/httpd \
--iconsdir=/home/httpd/icons \
--htdocsdir=/home/httpd/html \
--cgidir=/home/httpd/cgi-bin \
--includedir=/usr/include/apache \
--localstatedir=/etc/httpd \
--runtimedir=/var/run/ \
--logfiledir=/var/log/httpd \
--proxycachedir=/var/log/httpd/proxy \
--enable-module=cern_meta \
--enable-module=expires \
--enable-module=log_agent \
--enable-module=vhost_alias \
--enable-module=mime_magic \
--enable-module=log_referer \
--enable-module=log_agent \
--enable-module=headers \
--enable-module=speling \
--enable-module=rewrite \
--enable-module=mmap_static \
--enable-module=usertrack \
--enable-module=so \
--enable-module=proxy \
--enable-suexec \
--suexec-caller=httpd \
--with-perl=/usr/bin/perl
#--activate-module=src/modules/php4/libphp4.a \
php SPEC ----
./configure --with-mysql=../mysql-3.22.32 --with-apxs \
--enable-track-vars --enable-magic-qoutes --with-gd \
--with-zlib --with-imap
Bye
--
Seth
"Have you gone mad?"
"Well, yes, but that's beyond the scope of this email."