homepage Welcome to WebmasterWorld Guest from 54.227.20.250
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!
dreamcatcher

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



 
Msg#: 3247276 posted 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.

dc

 

grandpa

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3247276 posted 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?

eelixduppy

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



 
Msg#: 3247276 posted 12:05 pm on Feb 9, 2007 (gmt 0)


Prevent search engines from indexing the phpinfo() page.

That's kind of neat :)

grandpa

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3247276 posted 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

    WebmasterWorld Senior Member 10+ Year Member



     
    Msg#: 3247276 posted 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.

    coopster

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



     
    Msg#: 3247276 posted 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:

    <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>

    figment88

    WebmasterWorld Senior Member 10+ Year Member



     
    Msg#: 3247276 posted 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.

    coopster

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



     
    Msg#: 3247276 posted 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