Welcome to Centmin Mod Community
Become a Member

PHP-FPM PHP 5.5.13 Out

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Matt, May 30, 2014.

  1. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
    http://www.php.net/ChangeLog-5.php#5.5.13

    Just updated one of the servers, and it did it automatically (hosted in Canada). Went to do my own (hosted in France), and the nearest mirror didn't have 5.5.13 on there yet.

    Code:
    No Match for argument: php-5.5.12.tar.gz
    No Match for argument: php-.tar.gz
    No Packages marked for removal
    Initializing download: http://www.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    HTTP/1.0 404 Not Found
    tar (child): php-5.5.13.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    inc/php_upgrade.inc: line 181: cd: php-5.5.13: No such file or directory
    Manually grabbed to file from the server in Canada, and put in in svr_setup, and the upgrade worked

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,088
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Ah upgraded too soon huh :)

    thanks for the heads up
     
  3. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
    Yeah, just too damn quick ;)
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,088
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah I need to come up with a way to first check if a PHP mirror has the file before actual wget download attempt and PHP upgrade :)
     
  5. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
    I've checked a few of the mirrors available, and it's not on any of the EU ones that I can see.

    How about having an array of mirrors in various places that you try to get the download from, rather than relying on them to geolocate you to the nearest mirror?
     
  6. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
    www.php.net automatically redirects me back to the UK mirror when I try it

    upload_2014-5-30_9-57-53.png
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,088
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah for php.net online site yes

    for Centmin Mod php url is hard coded to USA mirror www.php.net ;)
     
  8. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
  9. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
    Canada server:
    Code:
    [root@host home]# wget http://www.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    --2014-05-30 05:35:00--  http://www.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    Resolving www.php.net... 72.52.91.14
    Connecting to www.php.net|72.52.91.14|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://ca2.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror [following]
    --2014-05-30 05:35:00--  http://ca2.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    Resolving ca2.php.net... 72.55.140.6
    Connecting to ca2.php.net|72.55.140.6|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://www.php.net/distributions/php-5.5.13.tar.gz [following]
    --2014-05-30 05:35:00--  http://www.php.net/distributions/php-5.5.13.tar.gz
    Reusing existing connection to www.php.net:80.
    HTTP request sent, awaiting response... 200 OK
    Length: 17151674 (16M) [application/x-gzip]
    Saving to: “mirror”
    
    100%[==================================================================================================================================================================================================>] 17,151,674  7.95M/s   in 2.1s   
    
    2014-05-30 05:35:03 (7.95 MB/s) - “mirror” saved [17151674/17151674]
    
    France:
    Code:
    [root@host home]# wget http://www.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    --2014-05-30 10:34:43--  http://www.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    Resolving www.php.net... 72.52.91.14
    Connecting to www.php.net|72.52.91.14|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: http://fr2.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror [following]
    --2014-05-30 10:34:43--  http://fr2.php.net/get/php-5.5.13.tar.gz/from/www.php.net/mirror
    Resolving fr2.php.net... 2001:660:7401:211::36, 195.221.21.36
    Connecting to fr2.php.net|2001:660:7401:211::36|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2014-05-30 10:34:43 ERROR 404: Not Found.
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,088
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    2:56 PM
    1.5.15
    MariaDB 10.2
  12. eva2000

    eva2000 Administrator Staff Member

    54,088
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I guess i didn't notice as mainly test from USA based servers heh :)
     
  13. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    10:56 PM
    Mainline
    10.2
    Thanks Matt, just upgraded my server :cool:
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,088
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    12:56 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Ah updated this forum too

    Code:
    php -v
    PHP 5.5.13 (cli) (built: May 30 2014 16:19:08)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies