Support » Plugin: Duplicator - WordPress Migration & Backup Plugin » Deployment fails because php version incorrect

  • Resolved lvwebmaster

    (@lvwebmaster)


    Not a question, but I thought I’d pass on the result of several hours of head-bashing with my hosting company’s support team.

    The hosting company is Tsohost – that’s relevant and the following information may not apply to other hosts. The problem was that trying to deploy a Duplicator installation repeatedly failed due to php version 5.2.17 being required when only 5.2.6 was available.

    It turns out that Tsohost use the .htaccess file to set the php version with the line:
    AddType x-httpd-php53 .php
    This allows them to offer the facility of specifying a php version through their UI.

    If this file is absent, the php setting reverts to a default that Duplicator does not accept. The solution is to make sure that an .htaccess file with this line is present in the folder to which the Duplicator files are uploaded and run. When run Duplicator replaces this file with the one from the archive, containing the WordPress initialisation, so it’s probably useful to check that the php setting is still in .htaccess after Duplicator deployment as well.

    http://wordpress.org/plugins/duplicator/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Deployment fails because php version incorrect’ is closed to new replies.