[wp-hackers] Script Install of WordPress Lastest

Ken Newman Ken at adcSTUDIO.com
Sat Feb 13 00:30:35 UTC 2010


Hello Hackers,

What I've tried doing is uploading a php file with the following:

<?php exec('wget http://wordpress.org/nightly-builds/wordpress-latest.zip');
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 
fromhttp://wordpress.org/nightly-builds/wordpress-latest.zip…

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,
Ken


More information about the wp-hackers mailing list