I have been installing WordPress MU and BuddyPress a lot recently as I test and test and test it for a client’s website. The uploading of files via ftp has been the biggest consumer of time during this process.
Yesterday, I discovered a simple PHP script that makes installing WPMU, BuddyPress, WordPress, or really anything else a quick and painless process. All you need is a zipped folder! Here is the script:
<?php system('unzip FILENAME.zip'); ?>
Simply:
- Create a file called unzip.php on your server.
- Copy-and-paste the above line of code into the file. Make sure to update “filename.zip” to whatever your file path is.
- Open a browser and point it to http://YOURDOMAIN.com/unzip.php (make sure to change “yourdomain.com” to your domain).
That’s it!
7 Comments
More posts from themightymo.com
How to Convert .aiff to .mp3 files via Command Line
Yesterday I ran into an issue where I needed to convert .aiff files to .mp3. DBPowerAmp was recommended to me as a paid GUI tool. But I wanted something more lightweight, since this is a task I rarely need to do (most of the time, I’m already in Logic Pro, and exporting is simple there).…
Google Removed Our Business Listing – How we restored our biz to the Map and got our reviews back.
I was about to send an email to a potential customer pointing them to our 5-star Google Reviews via our Google Business profile (e.g. the Google Map), hoping this added information about our customers’ past experiences might help me close a deal. But when I checked the Google Reviews link, it was down. And after…
The Price We Pay: Cloudways Off-Site Backup vs. Budget WordPress Hosts
Cloudways Off-Site Backup Pricing Calculator: The Ultimate Cost Guide
Champ! it works great =]
You are fantastic!!! Saved me so much time after spending a couple of hours trying to figure out(I’m new to this)…thank you! (O:
Warning: system() has been disabled for security reasons…
it doesn’t work.
That is an issue with your hosting provider.
hm.. no luck. Script runs fine. Just no result.
@raoul and @be – The issue is likely your server setup. Contact your hosting provider and ask them to support the function listed above.
Here’s an alternate method: