Compile flags for a typical PHP distribution

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • davmonster@gmail.com

    Compile flags for a typical PHP distribution

    Hello,

    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.

    Thanks,
    David Craddock

  • Martin Lucas-Smith

    #2
    Re: Compile flags for a typical PHP distribution




    On Tue, 30 May 2005 davmonster@gmai l.com wrote:
    [color=blue]
    > 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.[/color]

    Have you read the manual, which gives this information?

    For instance, http://www.php.net/xml 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
    functions."


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


    Martin

    Comment

    Working...