Please also enter your real email address.Īnd click Install WordPress. Please change the username and password as you want. The default information for WordPress is:Ĭlick submit -> Next and enter the final information: Now you can setup your WordPress as usually: Go to your downloads folder, extract the WordPress file to a folder, open it and copy all the contents of the folder to www -> wordpress.test Return to the main MAMP settings screen (localhost/MAMP) and click the phpMyAdmin text To be able to migrate to WordPress your CMS on your Mac your will need to have a… WordPress installation. You just need to copy – paste these:įinally, for the changes we done to take place, open MAMP and stop – start the servers. Then at the “Data Handling” section change Go down with your pagedown key to the “Resource Limits” section and change these Nano /Applications/MAMP/bin/php/php7.0.33/conf/php.ini To find where our php.ini at MAMP start page ( click the phpinfo textĪt the new page find the Loaded Configuration File line. (The versions may change for your installation) Mv /Applications/MAMP/bin/php/php7.3.9 /Applications/MAMP/bin/php/NOphp7.3.9 Mv /Applications/MAMP/bin/php/php7.4.1 /Applications/MAMP/bin/php/NOphp7.4.1 To be able to choose a more compatible version thank 7.4 (current MAMP version of this article) simply rename the 7.4.1 version to something else. MAMP allows you to choose between the 2 last installed versions. MAMP is using the latest php version You may want to use an older version for better compatibility. Now we need to change the limits to our servers. Remember to change “user” with your username. Go back to the terminal and replace the DocumentRoot line fromĭocumentRoot “/Applications/MAMP/Library/docs/”ĭocumentRoot “/Users/user/www/wordpress.test” The name of that house icon is the “YOUR USERNAME”. Inside the Users folder there should be a house icon. To find the exact “YOUR USERNAME” at the finder window click “Go” and then click “Computer” This is /Users/YOUR USERNAME/www/wordpress.test The DocumentRoot should point to our newly created folders. Then we need to edit the rest of the lines You can select it with your mouse, right click on the selected text, move the cursor with the arrows on your keyboard at the end, right click, pasteĭelete the lines that start with ServerAdmin, ErrorLog, CustomLog Go back at the terminal window and select – copy – paste one of the blocks. Then enter www and create a new folder wordpress.test Right click to create a new folder and name it www We recommend creating a www folder inside the user’s home folder and create a second folder with the same name as our migration domain for the migration of our website To avoid any permissions issue, we will use our user’s folder for this. Nano /Applications/MAMP/conf/apache/extra/nfĪt this step we decide where we want to put our website in our mac Then we will need to edit the file we just uncommented. Include /Applications/MAMP/conf/apache/extra/nf #Include /Applications/MAMP/conf/apache/extra/nf Using your pagedown key go to the “almost” end of the file and find the commented line (commented lines are the ones which start with a #) We need to edit a few more files before we can start (you do not need to enter sudo) Press enter, enter your password and an editor will open To add the migration domain open the hosts file via the terminal with the command: We want to add a new domain for our migration. To do this please open the terminal by going to the spotlight and type “terminal”. To migrate to WordPress from another CMS you will need to setup the server first. Setting up the Macintosh, Apache, MySQL and PHP server aka MAMP When you come back run MAMP again if it is not already running and click to start the servers if they are not already running. Now we need to make MAMP to use the default ports.Īnd click “Set web and mysql ports to 80 & 3306”Įnter your password and the servers should restart.ĭo not worry if you get an error message. While holding the Control button on your keyboard, click the MAMP icon and click open. Go to your Applications folder and open the MAMP folder. Preparing the Mac for the migration to WordPressĭouble click the downloaded MAMP file and proceed with the installation by clicking continue and install at all prompts
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |