Slashdot Mirror


PHP 4.2.0 RC3 - Works With Apache 2.0.35

mbadolato writes: "php.net has the latest 4.2.0 Release Canditate, RC3. The release contains support for the recent Apache 2.0.35 release as well as numerous collected bug fixes. For more information, see the PHP QA website."

27 comments

  1. Phirst Poast by Anonymous Coward · · Score: 0

    I'd like to dedicate this FP to the all time points leader in the game, Toss Malda's Salad- Jon "I lust for ass" Katz.

  2. WOOOHOOO! by HunterZ · · Score: 1

    This is exactly what I've been waiting for them to do for...the last six months or something like that!

    Ah crap, that means I can't put off upgrading any more. But now that I'm learining PHP for my database class it also means I'll have a new toy!

    --
    Arguing about vi versus Emacs is like arguing whether it's better to make fire by rubbing sticks or banging rocks.
    1. Re:WOOOHOOO! by Fweeky · · Score: 3, Informative

      > This is exactly what I've been waiting for them to do for...the last six months or something like that!

      That would be pretty difficult seeing as the API hasn't been stable until very recently. Still, if you were that desperate, you could run the apache2filter module from CVS around the date of your chosen Apache 2 release with a release PHP.

      > Ah crap, that means I can't put off upgrading any more.

      Um, yes you can. The apache2filter SAPI module is still crufty and this isn't a release version. You've got a good few weeks yet while enough kinks are worked out to even warrant a .0 release.

      By all means test it and throw it on your dev server, but don't be surprised when n random kiddie exploits a vulnerability or your httpd-error.log starts filling with tens of thousands of nice errors :)

    2. Re:WOOOHOOO! by g_dancer · · Score: 1

      PHP 4.2.0, which is due to be release on my birthday (April 22nd, for those who don't me that well :-), will have a more or less stable Filter (the new term for 'module') for Apache 2.0.35+. Thanks to the effort of some of the Apache guys, most notably Aaron and Cliff, it is much more stable than some weeks ago, but still not 'perfect'.

  3. "support" by HunterZ · · Score: 1

    Btw, what does "includes support for Apache 2.0..." mean? Is there an Apache 2 module? My problem before was that I couldn't get even the ISAPI modules working (hey I'm a n00b at setting up web servers, and the documentation on it REALLY isn't that good IMHO) with even the 1.x Apache releases.

    --
    Arguing about vi versus Emacs is like arguing whether it's better to make fire by rubbing sticks or banging rocks.
    1. Re:"support" by slappy · · Score: 1

      Head on over the QA site to find out what it means. I'd suggest if you don't have much experience with the whole apache/php routine that you stick with apache 1.3.x and php 4.1.2

    2. Re:"support" by HunterZ · · Score: 1

      I'll keep that in mind, although I think I can handle it. Here's my story:

      At some point I decided to put up a web server on my Windows box (my only box actually), and since IIS was already installed, I decided to try it. It worked, but it was bulky, hard to configure, and resource consuming (and then there's always the security-hole-of-the-week)

      Someone talked me into switching to Apache 1.3.x and PHP 4.1.2. I loved Apache. You only need to change a few lines in a config file to get it running, and it consumes less than 2MB of RAM (and no significant CPU time from what I've seen). PHP is another matter, however. I tried getting the Apache modules working with it to no avail. I tried the ISAPI extensions - same deal. So I had to fall back on the CGI executable, which worked but was disappointing.

      Later I upgraded to a 2.0.x beta of Apache, and went through the same issues with PHP, although I found out that it wasn't anything that was my fault this time - Apache2 support for the aforementioned stuff was not in the PHP 4.1.x binaries.

      I'm hoping that I won't go through the same thing now that there is both a new version and a new beta of PHP that are supposed to work together. What I really need it a clear set of instructions to follow, that also says what can go wrong during the setup and how to fix it.

      --
      Arguing about vi versus Emacs is like arguing whether it's better to make fire by rubbing sticks or banging rocks.
    3. Re:"support" by cymen · · Score: 2

      Have you throught of trying the apache+php+mysql distribs for windows? I know there are a couple out there but I can't remember any names. A google search on your specific problem might bring back a few relevent clues... But the distrib versions are probably the quickest way to get going and work on something else.

    4. Re:"support" by HunterZ · · Score: 1

      No, I didn't think to look for prepackaged distros - sounds like a good idea, except I'm an obsessive tweaker (no not THAT kind!) who likes to play with the latest versions of everything.

      Being able to start with a stable, working setup sounds like an excellent option though. Thanks for the idea.

      --
      Arguing about vi versus Emacs is like arguing whether it's better to make fire by rubbing sticks or banging rocks.
    5. Re:"support" by an_mo · · Score: 1

      Maybe you are thinking of foxserv, also here is the homepage

      I tried it and smoothlessly installed apache php mysql on my machine. There's even a distro with Perl in it.

    6. Re:"support" by Anonymous Coward · · Score: 0

      I think it's called PHP Triad (perl / php / apache) for Windows.It's been 19 seconds since you hit 'reply'! Slow down cowboy!

    7. Re:"support" by test007 · · Score: 1

      I found merlin server from Abriasoft to be a good Apache+php+MySQl+Perl distro for windows with php as an apache module. You can find it at http://www.abriasoft.com (registration required if you want to download and the download is approximately 43 MB). The nice thing about this distro is that it comes with ssl (https protocol support), phpmyadmin (admin your mysql server within your browser) and phpcode (php IDE) and some other windows programs to make webdev easier. By the way I am not affiliated with Abriasoft in any way.

      --
      There are 10 kinds of people. Those who understand binary and those who don't
    8. Re:"support" by cymen · · Score: 2

      Yeah, I'm the same way with tweaking the configuration. I needed to get php+apache+mysql running on a win2k laptop so I needed something fast. My normal platforms are freebsd & linux so I don't have any tips on the build/config problem you were having...

      I did remember the distrib I was thinking of - PHP Triad. It was pretty up to date when I downloaded it. I tried to find out what is in the 2.11 release but I gave up after a couple seconds. I'd just download it and take a look or check out the other replies in this thread.

      Good luck.

    9. Re:"support" by cymen · · Score: 2

      That does sound like a very nice package.

    10. Re:"support" by davidu · · Score: 2

      I've never even seen a *need* to say something like this on slashdot, and I've been here a long time, but please:

      TAKE THIS USELESS TALK OFFLINE or at least stop using your +1 bonus so people who browse at 2+ aren't stuck reading your content-free crap.

      Thanks kindly, David Ulevitch

      --

      # Hack the planet, it's important.
    11. Re:"support" by g_dancer · · Score: 1

      Daniel and Andreas from php4win.com provide for quite some time Apache 2.0.X binaries, as well as the matching PHP Apache2Filter SAPI Module.

  4. J00 Fsck74rd by Anonymous Coward · · Score: 0

    You're wasting your time with Apache. Go with a capitalist, patriotic, All-American server system: Microsoft .Net servers. You're either with us or against us. You hear?

  5. PHP And other Modules by Elik · · Score: 2, Insightful

    For myself.. I rather wait til the Apache releases the 2.0.1 release which hopefully, the rest of the popular modules from 3rd party are released to work with 2.0 Version. In that, I am referring to the following popular items as listed: Perl Module, Improved Frontpage Module, Gzip Module, PHP which is almost done, Mod_Python, Tomcat which is almost done, and 2 other modules which I forget. Once those modules have been ported to the new API, then there will be a widespread use of the 2.0 Apache.

    Til then, I will be using the 1.3 Version for time being til rest are caught up and tested before I move the production servers to 2.0.1. So...if you going to use it, please use it with care in case you are looking for the 3rd party modules to make it work with it.

    --
    -- Amazing how the Internet still humms along.... -- Dispite all the flaws of Micro$oft in their software!
    1. Re:PHP And other Modules by g_dancer · · Score: 1

      Apache 2.0.1 was released a _long_ time ago :-) The first general release, which you're referring to, was Apache 2.0.35.

  6. Better to wait a bit... by Anonymous Coward · · Score: 2, Informative

    The 4.2.0RC3 code still isn't completely up to snuff for working with 2.0.35. As a dynamic module, PHP will crash apache on startup. I found that someone hacked in a work around (but it looks like it would disable threading) by checking the PHP QA bug database.

  7. Outstanding!!! by eyegor · · Score: 1
    Does this mean that PHP will soon run correctly under AOLServer?!? PHP Version 4.1.X didn't play nicely before as a plug-in for AOLServer.

    For those who have never heard of AOLServer, it's a very nice (honestly!!), threading, open-source Web Server that runs on *NIX and even some MicroSquish OSs. It has a well-defined C API and uses TCL as the built-in command process language.

    AOLServer scales very well and has good database connectivity too.

    Check out this site

    --

    Don't anthropomorphize computers, they don't like it.
    1. Re:Outstanding!!! by Anonymous Coward · · Score: 0

      In related news, the porting of Office XP to OS X on Mac was followed very closely by the announcement of a Linux glibc 2.1 port.

      (p.s. there are other ways to plug your favourite server)

    2. Re:Outstanding!!! by eyegor · · Score: 1

      Shhh..... don't tell anyone!! :)

      I like Apache, but never really like using it in a high-demand environment with a database behind it. If the back end server gets a bit sluggish, or the content developers aren't good about writing scalable code, connections begin stacking up and things go downhill quickly from there.

      AOLServer tends to behave a lot better with the added benefit that it's not Netscape Enterprise Server. heh. NES is a nice server, but it's expensive and the innards aren't as well-documented as I'd like.

      Now that Apache is going multi-threaded, it'll be interesting to see how well it scales. Given the large degree of support from the open-source community, Apache 2.x will be well-positioned to take away a lot of business from IIS.

      --

      Don't anthropomorphize computers, they don't like it.
  8. Audited PHP by chrysalis · · Score: 2

    And if you want a security hardened PHP, apply the current patch from the PHP Audit Project . It's stable, but it only applies to 4.1.2 yet.


    --
    {{.sig}}
    1. Re:Audited PHP by mbadolato · · Score: 2

      Should we trust the ability of auditors that state there are four freaks working on the project, then proceed to list five people?? Hell, even if they started counting at 0, it's still 5 people... ;-)

    2. Re:Audited PHP by chrysalis · · Score: 2

      Ever heard about the 5 volumes trilogy of the Hitchiker's guide to galaxy?


      --
      {{.sig}}