Slashdot Mirror


Apache 2.0.54 Released

yoyhed writes "Apache 2.0.54 was released today, and is principally a bug fix release. Here's the official announcement, changelog, and download link."

3 of 25 comments (clear)

  1. Apache 2 and PHP by dananderson · · Score: 5, Informative
    OK--I'll answer the obligatory question before it's asked :-): Does Apache 2 work with PHP yet?

    A: Yes, but only if you use the (default) Apache prefork module with PHP. Some libraries used by PHP are not thread-safe, so you cannot use the multiple thread model.

    For details on using Apache 2 and php see my FAQ at http://dan.drydog.com/apache2php.html

    1. Re:Apache 2 and PHP by Anonymous Coward · · Score: 1, Informative

      Apache 2.0 serves static files is about 20% faster (on Linux).
      --Martiner

    2. Re:Apache 2 and PHP by Fweeky · · Score: 4, Informative

      Any noticable speed loss is unlikely; that you need fewer PHP processes and database connections eating memory could actually make it faster.

      There's no need for #! lines in your .php files; the interpreter loads whatever SCRIPT_FILENAME is set to by the webserver. With external servers you don't even need the .php's to be in the webserver's document tree; your PHP interpreter(s) can be running in a seperate part of the filesystem, a chroot jail or even a seperate server; even load balanced across many servers using something like the pen load balancer or lighttpd and its native lb support.

      Not necessarily the simplest or most sensible setup for small sites/development, but it works well in more loaded setups.