Compile flags for a typical PHP distribution

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View


I am trying to write a server-side PHP application that will be
eventually open-sourced. We want to know what a typical distribution of
PHP has compiled in. Will they have DOM support? XSL support? Will they
have XML support at all? If anyone can give us an idea for what the
typical PHP enviroment will be, we can make sensible descisions about
the trade off between the number of users who will be able to use the
software, and the attractive power of the various extensions.

David Craddock

Re: Compile flags for a typical PHP distribution

On Tue, 30 May 2005 wrote:

Quoted text here. Click to load it

Have you read the manual, which gives this information?

For instance, states

"These functions are enabled by default, using the bundled expat library.
You can disable XML support with --disable-xml. If you compile PHP as a
module for Apache 1.3.9 or later, PHP will automatically use the bundled
expat library from Apache. In order you don't want to use the bundled
expat library configure PHP --with-expat-dir=DIR, where DIR should point
to the base installation directory of expat.

The windows version of PHP has built in support for this extension. You do
not need to load any additional extension in order to use these

Each extension lists whether it is bundled or how it can be activated.


Site Timeline