Re: compile PHP static and use modules?

From: Date: Thu, 19 Oct 2000 04:53:15 +0000
Subject: Re: compile PHP static and use modules?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21081@lists.php.net to get a copy of this message
> At 12:05 PM +0800 10/19/00, Desmond Wong wrote: > >What are the difference between DSO and static modules, which one i should > >install in order to run php with database support. > > Can PHP be compiled as static into Apache but still allow for other > modules to be utilized via the DSO mechanism? I have attempted to > redo my installation to try this out using the option > --enable-module=so is that the correct way to do this? Yes > Do I use that option on the first configure of the apache files or the second? The second > Why do you need to do the configure twice on the apache anyhow? Because one of the Apache header files that PHP needs is not created until you have run Apache's configure script once. This is of course only the case for a static PHP build (--with-apache as opposed to --with-apxs) -Rasmus

« previous php.general (#21081) next »