Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
PHP Software Programming Apache

PHP 4.2.0 RC3 - Works With Apache 2.0.35 27

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."
This discussion has been archived. No new comments can be posted.

PHP 4.2.0 RC3 - Works With Apache 2.0.35

Comments Filter:
  • 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!
    • Re:WOOOHOOO! (Score:3, Informative)

      by Fweeky ( 41046 )
      > 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 :)
      • 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'.
  • 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.
    • 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
      • 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.
        • 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.
          • 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.
            • 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 [phpgeek.com]. 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.
              • 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
          • Maybe you are thinking of foxserv [sourceforge.net], also here is the homepage [foxserv.net]

            I tried it and smoothlessly installed apache php mysql on my machine. There's even a distro with Perl in it.
          • 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.
        • Daniel and Andreas from php4win.com [php4win.com] provide for quite some time Apache 2.0.X binaries, as well as the matching PHP Apache2Filter SAPI Module.
  • by Elik ( 12920 )
    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.
  • by Anonymous Coward
    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.
  • 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 [sourceforge.net]

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


All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin

Working...