[wp-hackers] Script Install of WordPress Lastest
Dion Hulse (dd32)
wordpress at dd32.id.au
Sat Feb 13 01:03:38 UTC 2010
Does your PHP install have the ZIP extension available?
Do Plugin Installs suceed?
Generally, Upgrade/Installs errors are due to incomplete Zip downloads.
If it fails consistantly, try disabling the zip extension:
add_filter('unzip_file_use_ziparchive', create_function('', 'return
If that doesnt help (And i *hope* it doesnt.. because that'll mean
something weird is up with the PHP Zip extension), Then try installing my
plugin 'Core Control', Activate the HTTP Access module, and try disabling
the current default transport.. See if that helps you at all
On Sat, 13 Feb 2010 11:30:35 +1100, Ken Newman <Ken at adcstudio.com> wrote:
> Hello Hackers,
> What I've tried doing is uploading a php file with the following:
> <?php exec('wget
> exec('unzip wordpress-latest.zip'); ?>
> This grabs the latest nightly and unzips. So far so good. I then go
> through the steps to create the wp-config.
> The problem appears to be when attempting an upgrade, I get the
> following error:
> Downloading update
> Unpacking the update…
> Incompatible Archive.
> Installation Failed
> It occurs to me that this might be unrelated to how I installed, but is
> it possible that this is a user/creator file permission issue on the
> LAMP stack? In other words, is LAMP treating the php script/server as
> the owner of the files and directories and does that matter? I'm
> assuming I wouldn't have an issue with a manual upload, and I can think
> of any other difference, except my user would be the creator of the
> files and directories rather then the system (if indeed that does work
> that way).
> Any ideas would be appreciated, Thanks,
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Dion Hulse / dd32
e: contact at dd32.id.au
msn: msn at d32.id.au
More information about the wp-hackers