[ZC-3763] mod_fcgi default version problem

vacancy

Well-Known Member
Sep 20, 2012
303
89
28
cPanel Access Level
Root Administrator
Hi all;

I started testing cpanel v74 - mod_fcgi in EasyApache 4.

I still see it is not fully functional.

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.

Can we set a different version of inherit for created accounts instead of php 7.2 for default version of fcgi?
 
Last edited:

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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!
 

vacancy

Well-Known Member
Sep 20, 2012
303
89
28
cPanel Access Level
Root Administrator
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?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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 support ticket so we can take a closer look at the affected system? You can post the ticket number here and I'll link this thread to the ticket.

Thank you.
 

vacancy

Well-Known Member
Sep 20, 2012
303
89
28
cPanel Access Level
Root Administrator
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)
 
  • Like
Reactions: cPanelMichael

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,910
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 
  • Like
Reactions: vacancy