Will not having a suPHP_ConfigPath in my .htaccess file prevent migration from EasyApache3 to EasyApache4?

Outlier

Active Member
Apr 21, 2017
27
1
53
Los Angeles
cPanel Access Level
Root Administrator

Outlier

Active Member
Apr 21, 2017
27
1
53
Los Angeles
cPanel Access Level
Root Administrator
Another requirement it says on that page is that: The system's default PHP version must use the suPHP handler. When I check my phpinfo.php page, under Server API it says "CGI/FastCGI" but in WHM -> Home -> Service Configuration -> Configure PHP and suEXEC, it does say under php handler: suPHP. So I'm assuming my php handler is indeed suPHP and not FastCGI but I'm not 100% sure. Again I don't see any line with suPHP_ConfigPath in my .htaccess file. Will that be a problem or should I add a line like: suPHP_ConfigPath /path/to/myserver/config (the directory to my php.ini file) before updating? Please advise. I'd want to have everything set before attempting the update.
 
Last edited:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston

Outlier

Active Member
Apr 21, 2017
27
1
53
Los Angeles
cPanel Access Level
Root Administrator
It doesn't matter to me which php handler I use. I just want to make the update from EA3 to EA4 and see that everything is still working fine. If it's working fine, then I won't change anything. So if I don't have a properly configured suPHP_ConfigPath directive in my .htaccess file, will the update still go smoothly? Or do you recommend me add a line to my .htaccess file, something like: suPHP_ConfigPath /path/to/myserver/config (which is the directory to my php.ini file)? What happens if I attempt the update without such a line addressing the suPHP_ConfigPath?