Debian 9 -> 10 upgrade with PHP 7.0 -> 7.3

Discussion in 'Installation/Configuration' started by Richard Foley, Aug 29, 2019.

  1. Richard Foley

    Richard Foley Member

    just upgraded my systems from Debian 9 (Stretch) to Debian 10 (Buster). In the process, I've
    Code:
    apt-get remove --purge php7.0
    and want to use the up-to-date
    Code:
    apt-get install php7.3
    I'm having some issues getting ispConfig3 to "let go" of php7.0. I'd rather not grep through all the client website config files for the php7.0 string (clearly this is an option). Is there a simple way to tell ispConfig3 to accept the usage of the new php7.3 installation?
     
  2. Richard Foley

    Richard Foley Member

    Slaps head! Think I have it:
    Code:
    System -> Server Config -> PHP Settings 
    Not sure if this will update existing client websites, but I guess I'm about to find out.
    :rolleyes:
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to use Tools > resync if you want to update all sites.
     
    Richard Foley likes this.
  4. Richard Foley

    Richard Foley Member

    excellent, Till, many thanks for that tip.

    As an addendum, I found a hard-coded php7.0 path which might need a revision in a future version?
    Code:
    server/plugins-available/apps_vhost_plugin.inc.php:173:                         || file_exists('/var/run/php/php7.0-fpm.sock')
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    That's known and listed in the Bugtracker.
     
    Richard Foley likes this.
  6. Richard Foley

    Richard Foley Member

    I think it updated back to 7.0 for the apps vhost on resynch, but as I'm not using any apps. this is unimportant at this end. just FYI here.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    The resync is not related to the apps vhost, it does not get altered by a resync.
     
  8. Richard Foley

    Richard Foley Member

    ah, ok, but then I'm wondering what did this to my site:
    Code:
    -               fastcgi_pass unix:/var/lib/php7.3-fpm/apps.sock;
    +               fastcgi_pass unix:/var/lib/php7.0-fpm/apps.sock;
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Either you ran an ispconfig update or you edited something under System > server config.
     
  10. Richard Foley

    Richard Foley Member

    I think it was
    Code:
    System -> Server Config 
    , this presumably updates the apps vhost from the hardecoded codebase, then?
     

Share This Page