Site won't render after transfer
We are transferring accounts off of a Centos6 server w/ WHM v.86.0.11 to CloudLinux7 w/ WHM v.88.0.11. We've transferred several with no issues. We have one account with two websites. One renders, the other doesn't. The one that does not render shows errors:
The file doesn't exist on any of our systems, and we can't find what's calling it other than the website. Can somebody point us in the right direction?
script not found or unable to stat: /usr/local/cpanel/cgi-sys/ea-php73, referer: https://domain.tld/The file doesn't exist on any of our systems, and we can't find what's calling it other than the website. Can somebody point us in the right direction?
-
Does this account has a script with static reference to the PHP version? Which PHP version do you use on this account? Is it alt-php73 (cloudlinux) or ea-php73? Is the account in CageFS? 0 -
We opened a ticket. Issue was account was using a subdirectory for document root. Excerpts from the support tech: cPanel MultiPHP Manager is managing the PHP versions that domains are using via the .htaccess file. In this instance, the domain is being rewritten to use a different directory which isn't a document root. So the issue here is that a non-document root is specifying a PHP version and handler not configured in MultiPHP Manager settings. It is best to manage your websites using the document root configured in cPanel or these kinds of issues can occur where the PHP version is not in sync because the path being used for the website is not a document root in cPanel. The tech edited the subdirectory/.htaccess from: # php -- BEGIN cPanel-generated handler, do not edit # Set the "ea-php73"PHP" AddHandler application/x-httpd-ea-php73 .php .php7 .phtml # php -- END cPanel-generated handler, do not edit
to:# php -- BEGIN cPanel-generated handler, do not edit # Set the "ea-php73"PHP" AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml # php -- END cPanel-generated handler, do not edit
The site is rendering again.0 -
Glad its fixed now :) 0 -
Glad to see you were able to get the issue resolved and thank you for updating the thread with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments