No input file specified.
:( 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
-
[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'
Hello, A similiar error message is discussed on the following thread: Apache Alias directive not working un EA4 with PHP-FPM Can you check to see if this relates to the issue you are facing? Thank you.0 -
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 0 -
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. 0 -
Think I found a fix Configurations Values of PHP-FPM - Documentation - cPanel Documentation Added php_admin_value_doc_root to the YAML for my subdomain, and now my php looks to be running correctly! 0
Please sign in to leave a comment.
Comments
4 comments