Apache 2.0.50 Released 40
Gruturo writes "The Apache Software Foundation just released version 2.0.50, which, apart from the usual incremental improvements and bug fixes, addresses security vulnerabilities such as CAN-2004-0493 (Memory leak which could lead to resource depletion == DoS) and CAN-2004-0488 (a mod_ssl buffer overflow). Be kind to their servers and use a mirror."
Safe to upgrade yet? (Score:1, Informative)
Re:Safe to upgrade yet? (Score:5, Informative)
Quote from http://httpd.apache.org/docs-2.0/mod/prefork.html [apache.org]
This Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3. It is appropriate for sites that need to avoid threading for compatibility with non-thread-safe libraries. It is also the best MPM for isolating each request, so that a problem with a single request will not affect any other.
Using Apache 2 in this method will make it work perfectly with PHP.
Re:Safe to upgrade yet? (Score:3, Interesting)
And yes, mmcache and friends work fine in FastCGI mode.
Re:Safe to upgrade yet? (Score:3, Informative)
Just not well enough to sign off an enterprise solution on...
Check out these links for more details...
PHP-Dev Mailing list discussion [theaimsgroup.com]
Discussion on PHP buglist [php.net]
as well as a more tongue-in-cheek reply... [php.net]
Re:Safe to upgrade yet? (Score:5, Interesting)
I wouldn't sign off an enterprise solution on PHP full stop. Vile language.
So says someone who did some work on Squirrelmail [squirrelmail.org] a little while back - man it sucks trying to support all the little incompatibilities and changing defaults and changing configurations everywhere. When you're undoing an automatic quote of variables depending on a guess from some other variables you know you've got "Visual Basic for da interweb" - except with a less stable API.
That and the separate functions per DB type which caused all+dog to write their own copy of Perl's DBI in PHP before Pear came along.
It might be an OK language for developping small stand-alone web apps, or a web app which runs on one infrastructure that you control and validate - but it's not a language for writing stuff you can install on any webhost and expect a complex app to keep working across versions.
*grumble*
Re:Safe to upgrade yet? (Score:1)
well I have been doing just that with a quite large app (200 000+ lines of php code) and it has been working out just fine.
odd, that.
Re:Safe to upgrade yet? (Score:2)
How many installations? What sort of app? Do you ever install it on systems where you can't insist that PHP is configured a particular way?
I agree that 200,000+ lines of code is big.
I can hardly talk, since I'm working on a fairly large app written in Perl, and it has its fun and games across versions with poorly written 3rd party modules, but at least the core language has been p
Re:Safe to upgrade yet? (Score:1)
how many?
admittedly, the number of installations on different servers is not that big - about 15 different servers so far and most of them (about 10 I think) have apache/php configs that we can't control. the number of sites it runs is around 200
what kind of app?
everything
Re:Safe to upgrade yet? (Score:2)
We suffer from not enough abstraction in some ways.
Re:Safe to upgrade yet? (Score:1)
// is this a line of code
if( $A == $b){ print("is this a line of code") }
/* is this one line of code
or two */
if(!$A) {
print("how many lines of code is this");
}
just a thought. I have used php for large projects, just nothing that I didn't control the install envoirment on, so I really cant comment on that. Although I bet my project had at least 20,000 lines of comments.
Re:Safe to upgrade yet? (Score:2)
Re:Safe to upgrade yet? (Score:2)
Thanks for playing though.
Re:Safe to upgrade yet? (Score:2)
If I'm doing something for a large company (dozens of servers), there is going to be some form of configuration management involved to keep those servers consistent amongst themselves. Therefore, "all the little incompatibilities" aren't the factor they are in something like Squirrelmail or phpMyAdmin, where you can't control what Joe Sixpack has installed on
Re:Safe to upgrade yet? (Score:5, Insightful)
Re:Safe to upgrade yet? (Score:2)
Be careful what you imply... the PHP core IS thread-safe... the only unknown is the large number of external libraries which PHP uses... The issues are not seen in non-threaded implementations... Forked processes do not hit the thread-safety issues, so any library is safe there...
I'm not sure what you mean by "Also, you can thread sessions all reads and writes lock the session from any further reads or writes until the operation is
I choose security (Score:3, Funny)
For security I wouldn't use anything where the source is open.
I recommend Microsoft(r) Internet Information Services for server software (compiled with GS switch, so it's double secure compared to other products) and Microsoft(r) Internet Explorer for client (my favorite site MSN.com looks great in it).
Re:I choose security (Score:2)
The problem with Microsoft products is that those bastards invariably sneak in improvements along with bug fixes. This version of Apache, on the other hand, er... uh... never mind. Hey! What's that over there? [exits stage left]
Re:I choose security (Score:1)
Hold yer horses... (Score:4, Interesting)
So is there really any point in using apache2 at all?
Beyond maybe a cache/proxy role?
Re:Hold yer horses... (Score:5, Informative)
Re:Hold yer horses... (Score:2)
Multprocess vs. multithreaded (Score:1)
Re:Hold yer horses... (Score:2)
A couple of responses (Score:5, Informative)
Besides the threaded model and the above paradigm shift, there is also the great improvements in the build system, the API and IPv6 support. You can read all about it here: New Features 2.0 [apache.org]. Do yourself a favor and start learning Apache 2.x now, you will not regret it down the line.
Finally, I believe that with the 2.0.50 release the contributors have solved some of the most serious bugs and have delivered one of the most stable releases of Apache to date. Of course time will tell if there are significant bugs, I wouldn't go upgrading your production environment tomorrow. But the folks there have worked really hard on the big bugs and I have to give them a big thank you.
The full change list is here: Changes 2.0.50 [apache.org]. They have fixed a very serious stderr bug, several annoying ldap bugs, addressed various other security and performance issues and generally done a great job.
Way to go folks. Thank you!!!
Re:A couple of responses (Score:3, Funny)
Obligitory... (Score:1, Funny)
Re:A couple of responses (Score:1)
Re:A couple of responses (Score:2)
IIS was already like this. You can host any number of protocols and services with it. In fact it already ships with FTP and SMTP s
Re:A couple of responses (Score:1)
Re:A couple of responses (Score:1)
mod_ftpd works great as an FTP server for Apache [outoforder.cc]..
Re:A couple of responses (Score:2)
Well, it's another Apache2 release... (Score:2)
*sigh*