Welcome to WebmasterWorld Guest from 54.159.246.164

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP v5.2.1 Released!

   
8:02 am on Feb 9, 2007 (gmt 0)

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Just a heads up for the new release of v5.2.1:

Release Notes [php.net]

Changelog [php.net]

This release is a major stability and security enhancement of the 5.X branch.

dc

10:01 am on Feb 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The JSON extension implements the JavaScript Object Notation (JSON) data interchange format. This extension is enabled by default.

Is anyone doing much with JSON yet?
12:05 pm on Feb 9, 2007 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member




Prevent search engines from indexing the phpinfo() page.

That's kind of neat :)

3:34 am on Feb 10, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I installed 5.2.1 last night. It wasn't an error free event.

  • The Windows installer did not update all of the dll files.
    Manual replacement from the zip file took care of that.

  • A few scripts problems - mostly database related.
    I ran REPAIR TABLE on all of my tables and that seems to have cleared those problems. This had to run from a script, as phpMyAdmin could not read the tables correctly.
  • 1:44 am on Feb 12, 2007 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    Thanks for the note! I updated my Fedora server last night and had no problems. Though it's a pain to have to re-tweak my php.ini each time.
    11:10 pm on Feb 18, 2007 (gmt 0)

    WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



    I would agree, mcavic, but at the same time I feel it is so important to go through new configuration directives each time you upgrade. It is definitely worth the effort involved. I always keep a backup copy of my "old" php.ini file around for comparison.

    Something else to consider is locating and comparing directives that are not specifically set or overridden in your php.ini settings. Here is a small application to describe what I mean and get you started. You can take it from here by comparing values, etc. but at least you might get an idea what I am referring to. Comparisons such as this have come in handy for me on more than one occasion:

    <html><head> 
    <title>Configuration Directives Not Specifically Set In php.ini</title>
    </head><body>
    <h1>Configuration Directives Not Specifically Set In php.ini</h1>
    <pre>
    <?php
    $file = '/path/to/php.ini';
    $phpinfo = array_keys(ini_get_all());
    $php_ini = array_keys(parse_ini_file($file));
    foreach($phpinfo as $directive) {
    if (!in_array($directive, $php_ini)) {
    print "$directive\n";
    }
    }
    ?>
    </pre></body></html>
    1:10 am on Feb 19, 2007 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    Is anyone doing much with JSON yet?

    Absolutely - I can't even believe I used to web deb without it.

    8:01 pm on Feb 19, 2007 (gmt 0)

    WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



    I notice the home page has also been changed, conferences now has it's own page as opposed to being lumped in with the rest of the news:

    [08-Feb-2007] The news on the front page of php.net has changed, the conference announcements [php.net] are now located on their own page. The idea is to keep php.net specific news clear and also opens the door for additional news entries, like for RC releases. More changes are on the way so keep an eye out.