Re: compiling apache in module DSO

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: compiling apache in module DSO
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5650@lists.php.net to get a copy of this message
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

« previous php.general (#5650) next »