![]() You can change the PHP version for your site in the Local app. Note To install WordPress version 3.8 or lower your site needs to be running PHP 5.3. Visit v/wp-admin Username: admin, Password: passwordĬhange the version number to install any other version found in the WordPress release archive. ![]() If all went well it shows a message with instructions how to finish the install. To install WordPress 4.2 type this bash vvv-init.sh 4.2 Right click the site and choose Open Site SSH.Ī terminal window will open. To update the host file on the remote computer, just change the hostfile variable location and the rest content will be the same. So, etc/hosts is writable for Mamp Pro but not for Local Flywheel. Once you check the host file again, a new entry will be displayed. Warning: Changing WordPress versions with this script completely removes all your files in the site’s public folder and deletes the database before installing a new version. i can see all my local flywheel host entries in the same host file by the way. You can now change WordPress versions very quickly. # Note: If edited, you'll need to edit it in the vvv-hosts and the nf files as well. # Note: Don't use spaces around the equal sign when editing variables below. You can find the database credentials values by clicking Database in the Local App. Right click on Command Prompt and choose Run as Administrator. curl -O Įdit the following variables in the vvv-init.sh file to match the url and credentials of the WordPress site. Command Prompt appears as one of the results. Go to /app directory inside the Site Path directory and download the vvv-init.sh file from the WP Nostalgia repository. You need to have a site installed and running in the Local appĬlick the site in the Local app and see what the Site Path directory is. There are however some simple steps needed to set it up. It lets you easily change WordPress versions all the way down to 0.71-gold. And as it turns out it’s fully compatible with the Local app. I’ve written a script to install older versions of WordPress for VVV. This something you don’t do very often, but It got me thinking. The only thing you can’t change (from the user interface) is the WordPress version. It enables you to swap between different types of servers and versions of PHP with a single click. ![]() If suddenly the server gets a DDOS attack with no front-end caching or protection layer, then the server is going to have a bad time, regardless if its hosting 1 website or 100 websites. The beauty is you can very quickly change the development environment of a site. It depends on the traffic, the coding, the server resources, and the number of shared accounts. Local is a free Mac app to develop WordPress locally.
0 Comments
Leave a Reply. |