Skip to main content

Site won't render after transfer

Comments

4 comments

  • andrew.n
    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
  • jndawson
    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
  • andrew.n
    Glad its fixed now :)
    0
  • cPanelLauren
    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.