Mat-d-rat

Well-Known Member
Jul 30, 2003
108
2
168
:( I've been having real issues trying to get a website running PHP 7.1 (server default is 5.6) - I've been through and updated everything and now have EA-php56 as my default with PHP-FPM on as well (Had to sort a few permissions but got there). I've now changed one site to use PHP 7.1 (this is a subdomain outside of document root (Subdomain document root / v68.0.9) but all I get is a no input file specified and the apache error log shows

[proxy_fcgi:error] [pid xx] [client xxx] AH01071: Got error 'Unable to open primary script: /home/account/subdomains/beta/public/index.php (No such file or directory)\n'

Originally I thought this was a .htaccess issue but I've tried several things and nothing worked so not so sure now?

WHM v68.0.9
Apache 2.4
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463

Mat-d-rat

Well-Known Member
Jul 30, 2003
108
2
168
Yes I think it's the same issue, static files seem to work correctly, just the PHP file.

Is that the solution to add suPHP, or will there be a fix. Would rather keep fpm
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Per that thread, it looks like this isn't something we support with PHP-FPM at this time. You'd need to use another handler (e.g. suPHP) to allow for that functionality.

Thank you.