4/3/2023 0 Comments Mamp wordpress local database![]() ![]() Step 3: Complete The WordPress Installation Now go to your home directory (which should be and follow instructions to complete installation. Now edit the files using the name of the database you created as well as “root.” Go to MAMP/htdocs and rename the “wp-config-sample.php” file to “wp-config.php” and open it up. Make sure to enter “Y” when asked to save your changes. Use the down arrow to go to the bottom of the list and add (with a tab in between, and where “test” is the name you gave to your MAMP database): 127.0.0.1 test Then you will be taken to the screen below. You might be prompted for your admin password, so just type it and hit enter. First open Terminal and type the following: sudo nano /private/etc/hosts ![]() So we are going to map a brand new URL to our localhost. In order for mutlisite to work, you need to remove the post number from the localhost URL. This is an important step to be sure you can later enable multisite. Open the “WordPress” folder and drag all of the other contents into your Applications/MAMP/htdocs folder. Once downloaded, double click to extract the folder. To start – download the latest version of WordPress from their site by clicking on the button below. WordPress is famous for their easy installation. Test, wordpress, wp, wpdev – whatever works for you (just remember the name because you’ll need to use it for another step later on).īam! You are now all set up to install WordPress locally! Look at you – being all tech savvy. Think about what you want to name your database. You should be taken to a new screen where you are given the option to create a new database. ![]() You will see a welcome screen such as below.Now it’s time to start up your servers and add a database. While you’re in your preferences you’ll also want to set your PHP to the latest version and choose a document root location for Apache (100% your choice – I made a new folder in my docs just to keep things organized). Even thought using port 80 requires you to enter your admin password each time your start your servers, it really doesn’t bother me and it makes me feel more secure about my secret theme creations. ![]() The adjustments to the ports will allow you to exclude the port number from your localhost URL and protect your local host respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |