Welcome to WebmasterWorld Guest from 23.22.206.103

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP v5.2.1 Released!

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

Senior Member

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

joined:Mar 30, 2003
posts:3719
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 7, 2003
posts:1406
votes: 0


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)

Senior Member

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

joined:Nov 12, 2005
posts:5966
votes: 0



Prevent search engines from indexing the phpinfo() page.

That's kind of neat :)

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 7, 2003
posts:1406
votes: 0


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)

    Senior Member

    WebmasterWorld Senior Member 10+ Year Member

    joined:Mar 31, 2003
    posts:1316
    votes: 0


    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)

    Administrator

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

    joined:July 31, 2003
    posts:12541
    votes: 1


    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)

    Senior Member

    WebmasterWorld Senior Member 10+ Year Member

    joined:June 25, 2002
    posts:776
    votes: 0


    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)

    Administrator

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

    joined:July 31, 2003
    posts:12541
    votes: 1


    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.