• Resolved cedus

    (@cedus)


    Hi,

    we’ve got a problem where ZipArchive is disabled on our managed server with PHP8 but another Zip Extension is running and Shell Exec Zip is supported. I already asked the hoster to enable it on this version but they say they use an alternative bzip2.

    We cannot create archives because it will fail with DupArchive because of the size and fail on ZipArchive because of not enabled extension. I cannot go back to PHP7.2 because of a composer dependecy, so now I’m stuck.

    Is there a possibility to tell the PHP-Support section that bzip2 is fine too or am I missing something?

    Thanks
    Chris

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support devdavidam

    (@devdavidam)

    @cedus I think the only choice you are left with is to use ShellZip, isn’t it enabled?

    Thread Starter cedus

    (@cedus)

    Hi,

    I have only the options ZipArchive and DupArchive in Duplicator, no other is shown. In “Tools > Server Options > PHP” I see Shell Exec and Shell Exec Zip supported. The extension is, I think, bzip2, in PHP Info it’s listed as section “bz2”.

    How can I use ShellZip?

    Thank you

    Plugin Support devdavidam

    (@devdavidam)

    Hi @cedus,

    Are there any disabled functions?

    Thread Starter cedus

    (@cedus)

    Hi, I’m sorry. The option ShellZip does not show for my setup. Only ZipArchive and DupArchive are selectable.

    Plugin Support devdavidam

    (@devdavidam)

    @cedus are there any disabled PHP functions? You can check it by opening Duplicator > Tools > General > PHP information and searching for disable_functions.

    Thread Starter cedus

    (@cedus)

    Hi, disable_functions has “no value”. Thank you for your quick responses.

    Plugin Support devdavidam

    (@devdavidam)

    @cedus sorry for the late reply, I’m out of ideas. For your information, Duplicator Pro has no limits on the DupArchive archive engine, you could try that.

    Thread Starter cedus

    (@cedus)

    Hey, meanwhile we changed the provider. Their support was not helpful. At least I know the problem now. They did not include zipArchive at all in the newer managed server images and planned to do it again in the next releases. I was able to zip it in ssh and move it fairly quickly.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘ZipArchive disabled, Shell Exec Zip supported, workaround?’ is closed to new replies.