Welcome to Centmin Mod Community
Become a Member

PHP-FPM Cannot upgrade PHP 5.4.31 from 5.4.30

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Razib Hasan, Aug 14, 2014.

  1. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    10:42 PM
    1.7.6
    5.10
    Hi George,
    I'm getting the following error while trying to update PHP. Any help, please?


    Code:
    * Upgrading PHP
    *************************************************
    yum -y erase php*
    Loaded plugins: downloadonly, fastestmirror, priorities
    Setting up Remove Process
    No Match for argument: php-5.4.30
    Loading mirror speeds from cached hostfile
    * base: mirrors.cat.pdx.edu
    * epel: mirrors.cat.pdx.edu
    * extras: mirrors.cat.pdx.edu
    * rpmforge: repoforge.eecs.wsu.edu
    * updates: mirrors.cat.pdx.edu
    1567 packages excluded due to repository priority protections
    No Match for argument: php-5.4.30.tar.gz
    No Packages marked for removal
    Initializing download: http://www.php.net/get/php-5.4.31.tar.gz/from/www.php.net/mirror
    HTTP/1.1 404 Not Found
    tar (child): php-5.4.31.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.4.31: No such file or directory
    
    *************************************************
    * Updating php.ini...
    *************************************************
    old php.ini will be saved at /usr/local/lib/php.ini-oldversion_140814-065544
    if you have modified your old php.ini i.e. installed and loaded
    APC, Xcache, Memcache or Suhosin - please re-install them after php upgrade
    ...
    cp: cannot stat `php.ini-production': No such file or directory
    
    make: *** No rule to make target `clean'.  Stop.
    inc/php_upgrade.inc: line 224: ./buildconf: No such file or directory
    make: *** No rule to make target `clean'.  Stop.
    ../configure --enable-cgi --enable-fpm --enable-pcntl --with-mcrypt --disable-fileinfo --with-mhash --with-zlib --with-gettext --enable-intl --enable-exif --enable-zip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --with-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype-dir=lib64 --with-jpeg-dir=lib64 --with-png-dir=lib64 --with-xpm-dir=lib64 --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --disable-fileinfo --with-config-file-scan-dir=/etc/centminmod/php.d
    inc/php_configure.inc: line 130: ../configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    
    real    0m0.002s
    user    0m0.001s
    sys    0m0.000s
    make: *** No rule to make target `install'.  Stop.
    
    real    0m0.003s
    user    0m0.001s
    sys    0m0.001s
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,818
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    2:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what version of Centmin Mod ? Make sure you're using Centmin Mod .07 stable, prior versions like .06 had a old PHP download mirror that PHP.net has changed since

    If you want to manually make changes to .06, commits from July 11, 2014 related to the change in .07 stable
     
  3. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    10:42 PM
    1.7.6
    5.10
    Thanks for the help, @eva2000 . I was using .07 but I had old mirrors. I've updated with new links & the upgrade went fine :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,818
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    2:42 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Glad to hear :)