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 Block Mailinator and other spam from Gravity Forms
I’ve had a couple of scenarios where I’ve needed to block a specific domain from filling out Gravity Forms on my WordPress site. Today I needed to block spammy “mailinator.com” submissions from a contact form. The solution was simple: Install and configure the Gravity Forms Email Blacklist plugin. In a few minutes – all done!
How to merge multiple .csv files via command line
Today I downloaded 29 csv files with tax information. I could import those files 1 at a time into WooCommerce, but wouldn’t it be nice if I could merge them first and then only import a single file? The unix command is simple – just navigate to the folder with all the csv files and…
15 Best WordPress Support and Maintenance Services for 2023: Ensuring Your Website Stays in Top Shape
Small business owners and non-profit leaders know that keeping your website secure, fast, and fully-functional is critical to success. Here’s the unspoken truth: You can either learn how to do all that tech maintenance and development stuff yourself, or hire someone else to do it. But let’s face it, doing it yourself isn’t always the…
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: