Join the community today
Become a Member

PHP PHP 7.0.18 is available

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Apr 13, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    8:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    Continue reading...
     
    Last edited: Apr 13, 2017
  2. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    1:26 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Can't get newrelic work with this one :(

    I just upgrade from 5.6.30 to 7.0.18 and i got this error:

    So i edit the :

    Code:
    nano /etc/centminmod/php.d/newrelic.ini
    and comment using ; the newrelic module and restart php and all working perfect !

    But as i want to use newrelic i try to reinstall it using:

    With no errors....

    Then i edit the newrelic.ini and remove the ; and then restart php and i got the same error :(

    What am i missing?
     
  3. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    1:26 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    ls -lah /usr/local/lib/php/extensions/no-debug-non-zts-20151012

    It is missing :(

    Maybe i need to recompile now the php?
     
  4. Sunka

    Sunka Active Member

    917
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +388
    Local Time:
    12:26 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    ;)
     
  5. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    1:26 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Just kill all processes and remove everything related !

    Reinstall using the above way and at the end i was use also:

    yum install newrelic-php5
    newrelic-install install

    Now all working :)

    Last two questions :)

    Code:
    Below is a list of the directories in which we found a copy of PHP.
    Please select the directory or directories for which you wish to install
    New Relic. You can select either a single directory or
    multiple directories by separating each choice with either a space or a
    comma. To select all of the directories shown, please enter the special
    keyword 'all' (without the quotes).
    
       1)   /usr/local/bin
       2)   /usr/local/bin
    
       0)   Exit
    
       Selection (1-2, 0 to exit or all): all
    
    Found a valid PHP in : /usr/local/bin
             PHP Version : 7.0.18
      Module API version : 20151012
        Module directory : /usr/local/lib/php/extensions/no-debug-non-zts-20151012
      Zend Thread Safety : no
       CLI ini directory : /etc/centminmod/php.d
          Install Status : /etc/centminmod/php.d/newrelic.ini created
          Install Status : OK
    
    Found a valid PHP in : /usr/local/bin
             PHP Version : 7.0.18
      Module API version : 20151012
        Module directory : /usr/local/lib/php/extensions/no-debug-non-zts-20151012
      Zend Thread Safety : no
       CLI ini directory : /etc/centminmod/php.d
          Install Status : OK
    Is this normal to detect the same path twice?

    And last question:

    After that when i update to a new php version it will auto work?

    Thanks !
     
    Last edited: Apr 15, 2017
  6. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    8:26 PM
    Nginx 1.13.x
    MariaDB 5.5
  7. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    1:26 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Proper uninstall steps (so we can reinstall at the end) in case of upgrade from 5.x to 7.0.x or to 7.1.x ?

    Or is any way to avoid the uninstall and install again ?
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    8:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    uninstall just delete newrelic.ini or comment out with semicolon in front of extension="newrelic.so" line and restart php-fpm though shouldn't be needed as install via upgrade steps outlined at https://community.centminmod.com/threads/newrelic-php-agent-install.11346/ just overwrites old version.
     
  9. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    1:26 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    When i upgrade from php 5.x to 7.x newrelic needs to be reinstalled to work......

    I am asking for proper steps to do this and get it work on the new version.....

    Sorry for my bad english :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    8:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    it's the same thing as install steps at https://community.centminmod.com/threads/newrelic-php-agent-install.11346/. Install, Upgrade are all the same for any PHP major branch upgrades.
     
  11. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    6:26 PM
    latest
    latest
    7.0.19 is available
     
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    30,168
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    8:26 PM
    Nginx 1.13.x
    MariaDB 5.5