The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP 5.2.11 Released

Discussion in 'General Discussion' started by DjiXas, Sep 18, 2009.

  1. DjiXas

    DjiXas Well-Known Member

    Joined:
    Feb 10, 2007
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    16
    The PHP development team would like to announce the immediate availability of PHP 5.2.11. This release focuses on improving the stability of the PHP 5.2.x branch with over 75 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release.

    Hopefully, this will get integrated into EA faster than 5.2.10.

    Cheers.
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    Php 5.2.11

    Hello,

    Thank you for the information.

    Matthew Curry
     
  3. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Let's see if the PHP cowboys fixed the problems from 5.2.10...


    The PHP development team would like to announce the immediate availability of PHP 5.2.11. This release focuses on improving the stability of the PHP 5.2.x branch with over 75 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release.
     
  4. bspiller

    bspiller Member

    Joined:
    Jun 4, 2008
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Burnington, WI
    cPanel Access Level:
    Root Administrator
    Nice, that's a lot of bug fixes. When do you think this will be upgradable?
     
  5. m0rgulvale

    m0rgulvale Member

    Joined:
    Sep 18, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1

    dear cpanel folks, please update to php 5.2.11 as there were security vulns in 5.2.10
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    2 threads one topic merged.
     
  7. DjiXas

    DjiXas Well-Known Member

    Joined:
    Feb 10, 2007
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    16
    It's in EA!
     
  8. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Anybody upgrade to 5.2.11 yet?

    Anyone who upgraded via EA, did you have any problems? All feed back is appreciated. I'm scheduled to do it at the end of the week. Just wondering if there are any speed bumps. 5.2.10 was a bit of a pain.
     
  9. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    I"m running the latest release version, and my previous EA compile was with 5.2.10. yesterday I recompiled three machines to have PHP 5.2.11 and I had no problems.

    mike
     
  10. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    I've had problems today with several scripts, mainly those that use the "file_get_contents" function where PHP is adding the header information into the output automatically, at random. Downgrading to PHP 5.2.10 resolves the problem immediately. So I won't be upgrading till this is sorted.
     
  11. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Thanks for sharing. Any others?

    A 1000 Thanks for your input.

    I always wait for 2 weeks after a new PHP build comes available. They always have problems and the patch it in a few days.
     
  12. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    No problems here, but I did get this message for some reason during rebuild.


    !! [bad manual edit detected] profile item 'Cpanel::Easy::PHP5' has no specific version chosen, defaulting to '2_11'. !!
     
  13. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    I've already submitted a bug report to PHP.net since I've put together a standalone script which replicates the issue I'm having no problem, but only in PHP 5.2.11. The problem for me is this totally breaks any scripts that need to use file_get_contents() to fetch remote files several times in the same job. The files PHP is fetching, it's adding header information automatically to a few of those files - when I did my tests 80 images were fetched, but 12 were amended with header info, as follows:

    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_NYDTHH
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_nyNQFp
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_pfiKkt
    -rw------- 1 nobody nobody 1778247 Sep 21 09:15 test_img_PfqLqg
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_PgNxEV
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_PN1hWM
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_PUeJ64
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_roULhb
    -rw------- 1 nobody nobody 1778247 Sep 21 09:15 test_img_rUL5Gr
    -rw------- 1 nobody nobody 1778247 Sep 21 09:15 test_img_rWDMZO
    -rw------- 1 nobody nobody 1777966 Sep 21 09:15 test_img_t7eCOU

    Notice the files sizes differ. The files that are slightly bigger contain header info. The next stage in the process is to use imagecreatefrompng() as the files are all PNG files, thus the size, but this is failing with the reason "file is not a valid PNG".

    If anyone has any scripts that utilise this function in this way, I would strongly recommend not installing PHP 5.2.11 till the problem has been fixed. This does not occur with PHP 5.2.10.
     
  14. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Pretty messed up bug...

    I would say that this is a pretty significant error. About 20% of my scripts use that function to some degree. I'll have to hold off.

    Guess the PCI compliance guys are not going to be happy with. I wonder if it will take the PHP dev. team another 3 months to fix it, just like 5.2.10 bugs took that long.
     
  15. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Reado where did your PHP Bug ticket go?

    Hey Reado,

    I was following your ticket on PHP bugs, but it disappeared. Did you figure it out?
     
  16. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    I have a ticket with cPanel which has gone as far as development and it's thought it could be down to the server kernel as the cause of the issue, but at the same time it's only since 5.2.11. Previous PHP versions don't cause any issues.

    So all I can say at this time is proceed with caution. Also if you're running a Xen kernel as I am (which may be the cause - not sure yet), test the new PHP version by installing on to a dev/test server if you have one available. Luckily I do, but I went ahead and installed 5.2.11 on the live server too, which broke straight away, so now both my servers are back on 5.2.10.
     
  17. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Thanks.

    Thanks for the update. Sorry to hear that dude... Good Luck.

    Not running Xen, so I'll give it a try.

    I don't have access to a test server. So I'll keep my fingers crossed. For both of us.
     
  18. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Check this bug report: PHP Bugs: #49611: file_get_contents() automatically including headers in output

    Been trying to track down this issue with one of the cPanel devs and we think it may well be a bug in PHP 5.2.11 after all! So if anyone is yet to upgrade, I'd wait if I were you to see what happens next. JD is verifying whether the code change he's made will resolve the issue, but if it does cPanel will release a patch for 5.2.11 in EasyApache.

    If you've already upgraded, don't worry. I did the same a week ago and it broke all my code that utilises the file_get_contents() function (in particular DOMPDF). However I downgraded to 5.2.10 via EasyApache without any problems and everything worked as expected afterwards.
     
  19. pjman

    pjman Well-Known Member

    Joined:
    Mar 22, 2003
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    It looks like they created a patch?

    It looks like CPanel already created a patch from the PHP ticket. Can anyone verify the patch is in place via EA?
     
  20. Reado

    Reado Well-Known Member

    Joined:
    Sep 8, 2009
    Messages:
    161
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    United Kingdom
    cPanel Access Level:
    DataCenter Provider
    Not yet. EA build is still 4791.
     
Loading...

Share This Page