1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Resolved Roundcube Use PHP 7.2?

Discussion in 'Plesk Onyx for Linux' started by G J Piper, Dec 4, 2017.

Tags:
  1. G J Piper

    G J Piper Regular Pleskian

    15
    35%
    Joined:
    Dec 8, 2015
    Messages:
    157
    Likes Received:
    29
    Is there an easy way to make Roundcube stop using the default php version and use one that comes with Plesk instead? In this case, the newly supported 7.2?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Best Answer
    This functionality is not supported by Plesk at the moment. Any webmail that is installed in Plesk will use PHP version provided by operating system vendor. So webmail uses system PHP.

    Leave your suggestion on Plesk User Voice portal.
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    BTW, you can try to modify /usr/local/psa/admin/conf/templates/default/webmail/roundcube.php on your own risk.
    For example:

    Code:
    [root@a10-52-71-9 templates] # diff default/webmail/roundcube.php ~/default/webmail/roundcube.php
    19c19
    <             FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX plesk-php72-fastcgi
    ---
    >             FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi

    Code:
    [root@a10-52-71-9 conf]# ps auxfw | grep 7.2/bin | grep -v grep
    roundcu+ 12838  0.5  2.7 570800 26720 ?        S    11:19   0:00  |   \_ /opt/plesk/php/7.2/bin/php-cgi -c /etc/psa-webmail/roundcube/php.ini
     
  4. G J Piper

    G J Piper Regular Pleskian

    15
    35%
    Joined:
    Dec 8, 2015
    Messages:
    157
    Likes Received:
    29
    Ok thanks for your input, IgorG.
     
  5. G J Piper

    G J Piper Regular Pleskian

    15
    35%
    Joined:
    Dec 8, 2015
    Messages:
    157
    Likes Received:
    29
    After I modify the template, what command do I use to make it update the install?
    plesk repair?

    Also, if I modify the template, with the template be overwritten at some point by a new update or will the update fail to modify it? (not sure which is worse)
     
    Last edited: Dec 6, 2017
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    All new webmails for created domains will be based on this template.
    Yes, this file is a part of plesk-core package:

    # rpm -qf /usr/local/psa/admin/conf/templates/default/webmail/roundcube.php
    plesk-core-17.5.3-cos6.build1705170317.16.x86_64
     
  7. G J Piper

    G J Piper Regular Pleskian

    15
    35%
    Joined:
    Dec 8, 2015
    Messages:
    157
    Likes Received:
    29
    learning_curve likes this.
Loading...