Want more timely Centmin Mod News Updates?
Become a Member

PHP upgrade centmin shortcut #5 doesn't prompt me for what version PHP

Discussion in 'Bug Reports' started by Epic Internet Marketing, Dec 9, 2015.

  1. Epic Internet Marketing

    Epic Internet Marketing Member

    40
    7
    8
    Aug 3, 2014
    New York, NY
    Ratings:
    +18
    Local Time:
    7:43 PM
    1.12.x | PHP 7.1.x
    10.1
    As title says, it simply auto-installs 5.4.45 after I say n to the yum update. If I do the yum update then it only offers me which zend opcache version and doesn't ask if I want zend like it did previously.
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,995
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:43 PM
    Nginx 1.13.x
    MariaDB 5.5
    • What version of Centmin Mod ? .07 stable or .08 stable or .09 beta01 ? Was it fresh install or upgrade ? How long ago did you install Centmin Mod ? There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.
    • What version of PHP used ? Did you upgrade or downgrade PHP recently ? Which version did you upgrade from ?
    • If you upgrade to PHP 7.0.0-dev it doesn't support memcache, igbinary, geoip or imagick PHP extensions. If you're testing PHP 7, on restarting PHP-FPM you will get some PHP warnings that some PHP extensions are unable to load as PHP 7 doesn't support them. So all you need to do is delete the releveant *.ini files for them


    Every centmin.sh menu option has a full server log created with time stamped file name at /root/centminlogs. You can check that specific error log for clues or copy and paste log contents and post to pastebin.com or gist.github.com for sharing.

    Use this command to list all logs in /root/centminlogs in date descending order so most recent logs are at bottom
    Code:
    ls -lAhrt /root/centminlogs
    For example
    Code:
    ls -lAhrt /root/centminlogs
    total 16M
    -rw-r--r-- 1 root root 9.8K Sep 18 13:47 centminmod_1.2.3-eva2000.08_180915-094703_yuminstall_centos6.log
    -rw-r--r-- 1 root root 52K Sep 18 13:48 centminmod_yumtimes_180915-094703.log
    -rw-r--r-- 1 root root 37 Sep 18 13:48 centminmod_profiletimes_180915-094703.log
    -rw-r--r-- 1 root root 234K Sep 18 13:48 centminmod_downloadtimes_180915-094703.log
    -rw-r--r-- 1 root root 199 Sep 18 13:48 securedtmp.log
    -rw-r--r-- 1 root root 44 Sep 18 13:50 centminmod_libresslinstalltime_180915-094703.log
    -rw-r--r-- 1 root root 1.2K Sep 18 13:50 gcc_native.log
    -rw-r--r-- 1 root root 939K Sep 18 13:52 centminmod_ngxinstalltime_180915-094703.log
    -rw-r--r-- 1 root root 58 Sep 18 13:55 centminmod_phpinstalltime_180915-094703.log
    -rw-r--r-- 1 root root 25K Sep 18 13:59 centminmod_1.2.3-eva2000.08_180915-094703_yum-log.log
    -rw-r--r-- 1 root root 20 Sep 18 13:59 install.utc.time.log
    -rw-r--r-- 1 root root 2.6M Sep 18 13:59 centminmod_1.2.3-eva2000.08_180915-094703_install.log
    -rw-r--r-- 1 root root 49 Sep 18 13:59 firstyum_installtime_180915-094252.log
    -rw-r--r-- 1 root root 12K Sep 18 14:02 centminmod_1.2.3-eva2000.08_180915-140110_nginx_addvhost.log
    -rw-r--r-- 1 root root 1.8M Sep 19 05:58 centminmod_1.2.3-eva2000.08_190915-055517_php_upgrade.log
    -rw-r--r-- 1 root root 1.8M Sep 19 06:22 centminmod_1.2.3-eva2000.08_190915-061910_php_upgrade.log
    -rw-r--r-- 1 root root 939K Sep 19 06:28 centminmod_1.2.3-eva2000.08_190915-062728_php_upgrade.log
    -rw-r--r-- 1 root root 1.8M Sep 19 06:32 centminmod_1.2.3-eva2000.08_190915-062943_php_upgrade.log
    -rw-r--r-- 1 root root 1.8M Sep 19 06:53 centminmod_1.2.3-eva2000.08_190915-065026_php_upgrade.log
    -rw-r--r-- 1 root root 1.8M Sep 19 07:14 centminmod_1.2.3-eva2000.08_190915-065820_php_upgrade.log
    -rw-r--r-- 1 root root 381 Sep 19 07:15 zendopcache_passfile.txt
    -rw-r--r-- 1 root root 23K Sep 19 07:15 centminmod_1.2.3-eva2000.08_190915-065820_zendopcache_install_submenu.log
    -rw-r--r-- 1 root root 1.5K Sep 19 08:20 centminmod_1.2.3-eva2000.08_190915-081959_git_envsetup.log
    -rw-r--r-- 1 root root 3.6K Sep 19 08:22 centminmod_1.2.3-eva2000.08_190915-082216_git_updatenew_branch.log
    -rw-r--r-- 1 root root 1.8M Sep 19 08:26 centminmod_1.2.3-eva2000.09_190915-082435_php_upgrade.log
    -rw-r--r-- 1 root root 7.8K Sep 20 17:17 centminmod_200915-171650_nginx_addvhost_nv.log
    -rw-r--r-- 1 root root 8.7K Sep 20 19:40 centminmod_1.2.3-eva2000.09_200915-193955_nginx_addvhost.log
    -rw-r--r-- 1 root root 9.3K Sep 20 20:04 centminmod_200915-200339_nginx_addvhost_nv.log
    post to gist.github.com or pastebin your /root/centminlogs/*php_upgrade.log for that particular run so we can check it out
     
  3. Epic Internet Marketing

    Epic Internet Marketing Member

    40
    7
    8
    Aug 3, 2014
    New York, NY
    Ratings:
    +18
    Local Time:
    7:43 PM
    1.12.x | PHP 7.1.x
    10.1
    latest version of centminmod, updated via command 23 - 2 a minute earlier. on a relatively new centos 7,1 server running http/2 with https on

    Code:
    ls -lAhrt /root/centminlogs
    total 18M
    -rw-r--r-- 1 root root  15K Aug 14 21:41 centminmod_1.2.3-eva2000.08_140815-214122_yuminstall_centos7.log
    -rw-r--r-- 1 root root  41K Aug 14 21:42 centminmod_yumtimes_140815-214122.log
    -rw-r--r-- 1 root root   37 Aug 14 21:42 centminmod_profiletimes_140815-214122.log
    -rw-r--r-- 1 root root 225K Aug 14 21:43 centminmod_downloadtimes_140815-214122.log
    -rw-r--r-- 1 root root 1.3K Aug 14 21:43 securedtmp.log
    -rw-r--r-- 1 root root   45 Aug 14 21:45 centminmod_libresslinstalltime_140815-214122.log
    -rw-r--r-- 1 root root 926K Aug 14 21:49 centminmod_ngxinstalltime_140815-214122.log
    -rw-r--r-- 1 root root   58 Aug 14 21:56 centminmod_phpinstalltime_140815-214122.log
    -rw-r--r-- 1 root root  371 Aug 14 21:56 zendopcache_passfile.txt
    -rw-r--r-- 1 root root  21K Aug 14 22:00 centminmod_1.2.3-eva2000.08_140815-214122_yum-log.log
    -rw-r--r-- 1 root root   20 Aug 14 22:00 install.utc.time.log
    -rw-r--r-- 1 root root 2.6M Aug 14 22:00 centminmod_1.2.3-eva2000.08_140815-214122_install.log
    -rw-r--r-- 1 root root   49 Aug 14 22:00 firstyum_installtime_140815-213924.log
    -rw-r--r-- 1 root root 2.4M Aug 14 22:20 centminmod_1.2.3-eva2000.08_140815-220453_php_upgrade.log
    -rw-r--r-- 1 root root 1.2K Aug 14 23:10 centminmod_wpcli_install_140815-231026.log
    -rw-r--r-- 1 root root  21K Aug 14 23:13 centminmod_1.2.3-eva2000.08_140815-220453_wordpress_addvhost.log
    -rw-r--r-- 1 root root  133 Aug 21 19:22 centminmod_1.2.3-eva2000.08_210815-185215_git_updatenew_branch.log
    -rw-r--r-- 1 root root 1.6K Aug 21 19:22 centminmod_1.2.3-eva2000.08_210815-185215_git_envsetup.log
    -rw-r--r-- 1 root root  247 Aug 21 19:23 centminmod_1.2.3-eva2000.08_210815-185215_git_updatecur_branch.log
    -rw-r--r-- 1 root root 1.9K Sep 16 20:20 centminmod_1.2.3-eva2000.08_160915-202017_git_updatecur_branch.log
    -rw-r--r-- 1 root root   45 Sep 16 20:31 centminmod_libresslinstalltime_160915-202619.log
    -rw-r--r-- 1 root root 3.2M Sep 16 20:50 centminmod_1.2.3-eva2000.08_160915-202619_update_all.log
    -rw-r--r-- 1 root root 1.3K Oct  4 22:08 centminmod_1.2.3-eva2000.08_041015-220825_git_updatecur_branch.log
    -rw-r--r-- 1 root root   44 Oct  4 22:25 centminmod_libresslinstalltime_041015-222353.log
    -rw-r--r-- 1 root root 2.8M Oct  4 22:32 centminmod_1.2.3-eva2000.08_041015-222353_update_all.log
    -rw-r--r-- 1 root root  444 Oct  4 22:33 centminmod_1.2.3-eva2000.08_041015-223321_php_upgrade.log
    -rw-r--r-- 1 root root 1.7K Nov 21 02:43 centminmod_1.2.3-eva2000.08_211115-024314_git_updatecur_branch.log
    -rw-r--r-- 1 root root  247 Nov 21 06:33 centminmod_1.2.3-eva2000.08_211115-063300_git_updatecur_branch.log
    -rw-r--r-- 1 root root 2.2K Nov 21 06:36 centminmod_1.2.3-eva2000.08_211115-063300_yuminstall_centos7.log
    -rw-r--r-- 1 root root  35K Nov 21 06:36 centminmod_yumtimes_211115-063300.log
    -rw-r--r-- 1 root root   38 Nov 21 06:36 centminmod_profiletimes_211115-063300.log
    -rw-r--r-- 1 root root   45 Nov 21 06:42 centminmod_libresslinstalltime_211115-063300.log
    -rw-r--r-- 1 root root 3.0M Nov 21 06:54 centminmod_1.2.3-eva2000.08_211115-063300_update_all.log
    -rw-r--r-- 1 root root 1.5K Dec  9 05:19 centminmod_1.2.3-eva2000.08_091215-051903_git_updatecur_branch.log
    -rw-r--r-- 1 root root 2.2K Dec  9 05:36 centminmod_1.2.3-eva2000.08_091215-053443_yuminstall_centos7.log
    -rw-r--r-- 1 root root  35K Dec  9 05:37 centminmod_yumtimes_091215-053443.log
    -rw-r--r-- 1 root root   38 Dec  9 05:37 centminmod_profiletimes_091215-053443.log
    -rw-r--r-- 1 root root   44 Dec  9 05:38 centminmod_libresslinstalltime_091215-053443.log
    -rw-r--r-- 1 root root 1.6K Dec  9 05:39 gcc_native.log
    -rw-r--r-- 1 root root 229K Dec  9 05:39 centminmod_1.2.3-eva2000.08_091215-053443_update_all.log
    -rw-r--r-- 1 root root 1.8M Dec  9 05:54 centminmod_1.2.3-eva2000.08_091215-053443_php_upgrade.log
    -rw-r--r-- 1 root root  247 Dec  9 06:02 centminmod_1.2.3-eva2000.08_091215-060203_git_updatecur_branch.log
    


    php log -
    Code:
    
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the 
    YUM install check to speed up upgrade time.
    
     [y/n]:  
    PHP Upgrade - Would you like to continue? [y/n] n
    
    Total PHP Upgrade Time: 11.241529866 seconds
    
     
  4. Epic Internet Marketing

    Epic Internet Marketing Member

    40
    7
    8
    Aug 3, 2014
    New York, NY
    Ratings:
    +18
    Local Time:
    7:43 PM
    1.12.x | PHP 7.1.x
    10.1
    hmm on my prompt it looks like I am saying no to yum checks.. not n to php upgrade..
     
  5. eva2000

    eva2000 Administrator Staff Member

    28,995
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:43 PM
    Nginx 1.13.x
    MariaDB 5.5
    did you exit centmin.sh menu option 24 and cd back into /usr/local/src/centminmod again after doing menu option 23 submenu option 2 ? if you don't do that before, centmin.sh will still run old code not the git updated code

    however, regardless it shouldn't prevent the php version upgrade prompt from showing up so strange
     
    • Winner Winner x 1
  6. Epic Internet Marketing

    Epic Internet Marketing Member

    40
    7
    8
    Aug 3, 2014
    New York, NY
    Ratings:
    +18
    Local Time:
    7:43 PM
    1.12.x | PHP 7.1.x
    10.1
    ahhhhh!!! That exactly... *facepalm*

    Managed to do it to 3 servers at once convinced I didn't have anymore putty windows open
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    28,995
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:43 PM
    Nginx 1.13.x
    MariaDB 5.5
    ah ha !! i need to figure out a way of centmin.sh detecting the new updated git pulled files while it's still running !
     
  8. Epic Internet Marketing

    Epic Internet Marketing Member

    40
    7
    8
    Aug 3, 2014
    New York, NY
    Ratings:
    +18
    Local Time:
    7:43 PM
    1.12.x | PHP 7.1.x
    10.1
    It didn't display the way it shows in that log.. Cause my reading skills are pretty on point. And 11 seconds? I'm pretty sure I spent a few minutes watching 5.4.45 install again. My work around was nano centmin.sh and putting 5.6.16 into the file
     
  9. eva2000

    eva2000 Administrator Staff Member

    28,995
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,769
    Local Time:
    7:43 PM
    Nginx 1.13.x
    MariaDB 5.5
    don't edit centmin.sh directly if you rely on git pull updates, use persistent config file Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS
     
    • Informative Informative x 1