Sign up to our newsletter to receive notifications of extension updates.

Sunday, 11 December 2011 20:02

The PHP ZipArchive class, the windows temp directory and Multi Install v1.0.5

Written by 

For those of you using the multi install component on a site that runs on a Windows server, you may have run into the message, "The file did not unzip properly". This error occurs due to the fact that the PHP class ZipArchive cannot open files stored in the C:\Windows\Temp directory. This is because the php process runs as a IUSR_XXXX user and it doesn't have the correct permissions to access the file.

Version 1.0.5 of the Multi Install component works around this limitation by moving the uploaded zip package to a different directory before attempting to unpack it. You can download it here and you can view further detail on the ZipArchive bug here.

Read 4941 times Last modified on Sunday, 11 December 2011 20:17

Leave a comment

Make sure you enter the (*) required information where indicated.
Basic HTML code is allowed.