Skip to main content

[ZC-3763] mod_fcgi default version problem

Comments

6 comments

  • cPanelMichael
    For example, when we set the default php version 5.6, the newly opened accounts are running as php 7.2. these sites also need to make php version selection. this is a challenging thing for many sites.

    Hello @vacancy, I've been unable to reproduce this behavior on a test system using the following steps: 1. Installed PHP 5.6, PHP 7.0, and PHP 7.2. 2. Installed the ea4-experimental and ea-apache24-mod_fcgid packages. 3. Set the "System PHP Version" to PHP 5.6. 4. Enabled fcgi as the PHP handler for PHP version 7.2. 5. Created a new account, and confirmed it was assigned to PHP version 5.6 in WHM >> MultiPHP Manager. Can you let me know what you're doing differently compared to the steps above? Thanks!
    0
  • vacancy
    I'm doing the same thing and testing. Although the default php version is 5.6 the php version appears to be 7.2 when created account. I disable the fcgi handler for 7.2 - 7.1 and 7.0 the php version returns to 5.6. I install php-fpm packages in EasyApache 4, can it be linked to it?
    0
  • cPanelMichael
    I install php-fpm packages in EasyApache 4, can it be linked to it?

    Hi @vacancy, I've installed the PHP-FPM packages but have not been able to reproduce the issue you have described. Could you open a
    0
  • vacancy
    Hello michael; Ticket number
    0
  • vacancy
    Hello there We have confirmed that this is a normal behavior after the reviews made, and that when the fcgi is selected as the handler, the top php version is inherit active. There has been an ongoing case regarding this issue, and I have been informed that it will be corrected in the future. (ZC-3763)
    0
  • cPanelMichael
    Hi @vacancy, Thanks for sharing the outcome. I've also reproduced the issue by uploading a PHPINFO file to the newly created domain and confirming the wrong PHP version is enabled (in my prior test, I only noticed the version listed in WHM >> MultiPHP Manager). I'm monitoring the case and will update this thread with more information on it's status as it becomes available. Thank you.
    0

Please sign in to leave a comment.