Join the community today
Become a Member

PHP Security PHP 7.2.14 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Jan 10, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    40,648
    9,029
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,902
    Local Time:
    3:58 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    PHP: PHP 7 ChangeLog
    Continue reading...
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,356
    318
    83
    May 31, 2014
    Ratings:
    +593
    Local Time:
    8:58 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    One of my servers stack at :

    set vm.nr.hugepages in /etc/sysctl.conf

    It doesn't proceed after that for a long time now...

    I am using the latest centminmod and updated....

    Contents of /etc/sysctl.conf:

    Code:
    vm.nr_hugepages=5700
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    Centos 7 64bit

    Log file:

    I had to restart the process and wait for a long time to build successfully :(
     
    Last edited: Jan 13, 2019
  3. eva2000

    eva2000 Administrator Staff Member

    40,648
    9,029
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,902
    Local Time:
    3:58 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    OpenVZ or KVM VPS or dedicated ?

    easier to use CODE tags instead of QUOTE tags for the partial log output or better yet Pastebin.com or Gists to share a sanitised version of the contents :)

    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.

    To troubleshoot, you need to check the the php upgrade logs at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the nginx_upgrade and php_upgrade logs. You can see full details at How to troubleshoot Centmin Mod initial install issues

    if you type this command it lists all logs in date ascending order so latest log at bottom
    Code (Text):
    ls -lArt /root/centminlogs

    so copy the entire contents of latest php_upgrade log to gist.github.com or pastebin.com

    you can use grep to filter the logs, i.e. look for nginx_upgrade or php in log name
    Code (Text):
    ls -lahrt /root/centminlogs/ | egrep 'nginx_upgrade|php_upgrade'
    

    Code (Text):
    ls -lahrt /root/centminlogs/ | egrep 'nginx_upgrade|php_upgrade'
    -rw-r--r--  1 root root  2.6M Oct  3 03:48 centminmod_1.2.3-eva2000.09.001_031016-034409_php_upgrade.log
    -rw-r--r--  1 root root  664K Oct 12 09:24 centminmod_1.2.3-eva2000.09.001_121016-092406_nginx_upgrade.log
    

    So the last php upgrade log was named centminmod_1.2.3-eva2000.09.001_031016-034409_php_upgrade.log and located at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_031016-034409_php_upgrade.log
    then use cat command to output the contents of that log.

    clear your ssh window buffer/screen and type
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_031016-034409_php_upgrade.log

    then select and copy and paste output to pastebin.com or gist.github.com file to share. If your SSH client's scroll buffer isn't large enough using cat might not output the entire log file contents, so you may need to download the log and use local text editor to open and copy and paste.

    so only need content of a specific log, in this case most recent php_upgrade.log logs
     
    style="display:inline-block;min-width:400px;max-width:970px;width:95%;height:90px" data-ad-client="ca-pub-6669518204467592" data-ad-slot="4024536743" data-ad-format="auto">
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,356
    318
    83
    May 31, 2014
    Ratings:
    +593
    Local Time:
    8:58 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    The above content is exactly what i got on the log file.

    It was just delay a lot at that point.After 5 minutes i stop it....

    It is a very powerful dedicated server....

    The weird thing is that i got that issue only on that sever out of my 5 servers and the only change that i did it was the delete of a folder of 800gb inside the public folder....

    Maybe it does a related calculation there ? Don't know...

    Thank you