[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Re: [PHP] compiling apache in module DSO
- Subject: [cobalt-developers] Re: [PHP] compiling apache in module DSO
- From: Sascha Schumann <sascha@xxxxxxxxxxx>
- Date: Mon Jul 10 09:59:09 2000
On Sun, 9 Jul 2000, Richard Kurth wrote:
> I am trying to compile Apache as DSO module so that I can have more than on
> ver of php on my system this is how I ran the configure file on apache
> ./configure --prefix=/usr/sbin --enable-module=so
> The I ran make
> I did not run make install because I have a cobalt server and they
> configured Apache really weird so what I did was copy the binary over to
> the /usr/sbin directory because that is were it is run from when I start
> the httpd server this is what I get
> /etc/rc.d/init.d/httpd start
> Setting up Web Service: Syntax error on line 33 of /etc/httpd/conf/httpd.conf:
> API module structure `php4_module' in file /usr/lib/apache/libphp4.so is
> garbled
> - perhaps this is not an Apache module DSO?
That happens, because the server and PHP were compiled using different
sets of header files. Try copying the Apache header files over the Cobalt
server's header files. Then run "make clean install" in the PHP directory.
- Sascha