homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

PHP v5.2.1 Released!

 8:02 am on Feb 9, 2007 (gmt 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.




 10:01 am on Feb 9, 2007 (gmt 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)

Prevent search engines from indexing the phpinfo() page.

That's kind of neat :)


 3:34 am on Feb 10, 2007 (gmt 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.

  • mcavic

     1:44 am on Feb 12, 2007 (gmt 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)

    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:

    <title>Configuration Directives Not Specifically Set In php.ini</title>
    <h1>Configuration Directives Not Specifically Set In php.ini</h1>
    $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";


     1:10 am on Feb 19, 2007 (gmt 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)

    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.

    Global Options:
     top home search open messages active posts  

    Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
    rss feed

    All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
    Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
    WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
    © Webmaster World 1996-2014 all rights reserved