SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP as a static or dynamic Apache module

    Don't ask me why but I've just compiled apache with php as a static module and now I'm all anxious about what the difference is between doing it this way, and making php a dynamic module which is loaded when apache starts up? Will there still be a Christmas?

    Concerned

  2. #2
    midnight coder
    Join Date
    Dec 2000
    Location
    The flat edge of the world
    Posts
    838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Think this page pretty much says it all:

    http://hotwired.lycos.com/webmonkey/...tw=programming

    It's basically easier to add other options using a Dynamic module.

  3. #3
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Apache runs slightly faster when dynamic modules are disabled (i.e. everything is compiled in statically). Dynamic modules are definitely more flexible; however. For example, you can upgrade to a newer PHP version without having to recompile Apache.

    Feature-wise, there is no difference. Only the CGI version of PHP is functionally limited.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •