Installing wordpress on mac.

Installing wordpress on mac.

Do you want to build a website in wordpress by yourself? It’s a good initiative, whether you’re a developer or you like to learn new things. The first step will be to install WordPress.

Fortunately, there is a quick and easy way to prepare a WordPress environment on your computer and therefore without using a web server. This practice allows you to start building your site without having to subscribe to an online offer. Thus, you are free to learn at your own pace, for free, and without insurmountable technical problems.

In fact, even professional developers use so-called locales to start programming projects. There are several advantages to doing so, the first being to be able to develop without necessarily needing to access the internet. Another is to be able to gain speed, since you do not depend here on sending data to the server with each modification. It really is a significant time saver to start a project locally.

To be able to use WordPress on your computer, you will need to install a local environment with all the tools necessary for using WordPress. Basically, you need to install the PHP programming language and a database.

Do not worry if these computer terms seem mysterious to you, regardless of your operating system (Windows, Mac OS, Linux…), there are software programs that allow you to install the necessary tools in just a few clicks. Here we will work with MAC OS and the installation software will be MAMP. If you are on Windows, I invite you to continue here.

Installation of MAMP and necessary tools.

The implementation of MAMP has already been mentioned in this article on Joomla. To install MAMP correctly on your computer, I invite you to follow the same procedure and come back here when everything is ready. We are waiting for you :-).

Prepare WordPress on my machine.

Once MAMP is installed, you are ready to install WordPress on your computer. To do this, the first step will be to recover the WordPress documents. Nothing could be simpler, you just have to download them here.

Once the archive has been recovered, you can decompress it in order to recover the files.

You must then transfer this document, in Applications / Mamp / htdocs. This step is important because Mamp will not be able to find WordPress if your file is not in the htdocs folder.

If you have an index.php file within your htdocs folder, you can delete it and keep only your WordPress folder.

If everything went well, you have successfully installed the WordPress archives. This is more than half of the work already done. To validate that everything is working for the moment, you must launch Mamp and find this window:

Press the Start button located at the top right to launch the environment. Wait for the button to turn green, and you will be redirected to a web page http://localhost:8888/MAMP. If not, please the above url and you should land on this type of interface:

Once on this page, to validate that your WordPress folders are visible to Mamp, please enter this url: http://localhost:8888/wordpress. You should have to display a page with a message accompanied by the WordPress logo:

As you can see from reading this post, WordPress is going to need a database to work. Except for the moment, we have only provided MAMP with the archives necessary for the functioning of WordPress. We must therefore move on to the next step, which consists of creating the site database.

Building a database for my WordPress site.

Creating a database with Mamp is not very complicated. You just need to use a tool named PHPMyAdmin. This will allow us to visualize on the browser, all the information concerning our future database. To find PHPMyAdmin, you have two options.

Either you enter by the following url: http://localhost:8888/phpMyAdmin5/ or, If the url does not work, you can find a redirect link from the MAMP homepage (1):

Arrived on PHPMyAdmin, you will find the home page, a little austere of the platform. You don’t need to go into much detail for the installation, just click on New Database.

Then just go to the next section and fill in a name for your database. You are free to choose the name that suits you. Attention, you must memorize the name of the database for the rest of the installation. Once decided, press the Create button.

The database has just been prepared for the WordPress site. Now, by returning to MAMP and to the WordPress page, the installation can begin.

Installing WordPress on my computer.

We start the installation of wordpress from this famous page informing us of wordpress requests concerning the database. The database is ready, click on Let’s go.

A form will then appear, asking to fill in several information concerning the database. In the name section, add the name of the database created on PHPMyAdmin. Regarding the username and password, the choice is free. For the database address, it is important to keep localhost. To validate, click on Send.

If an error message of this type appears, then it is probably because you entered the database name incorrectly.

If all goes well, a display like this appears:

To continue, click Start Installation. The next page will ask for information regarding the site administrator account. You must choose an accessible e-mail address in order to receive confirmation of the creation of an account by e-mail. When everything is ready, click Install WordPress.

After a window validating the correct registration of your account, the standard WordPress login page will appear.

By logging in using the password and the username entered just before, the traditional back office of WordPress will appear.

The wordpress site is well configured on the local computer. It is now possible to build a website in wordpress in local mode. For future connections, simply launch MAMP via the application window and return to the url /wordpress. Login is still required with username and password, after that, voila.

The tutorial on installing wordpress on MAC is complete. If you want to learn more about how to build a website wordpress or other tools, I invite you to continue your excursion on the other articles of the site. If you encountered any problems during the installation, do not hesitate to use the comment box to get in touch.

Photo Maxime Macé

Maxime Macé

Simple passionné de thématiques diverses et variées. J’apprécie enrichir mes connaissances dans les disciplines techniques comme l’informatique, les sciences et l’ingénierie, mais aussi dans les domaines merveilleux de la philosophie, l’art et la littérature.

Prenons contact

Vous souhaitez me contacter suite à la lecture de cet article ? Merci de renseigner votre adresse électronique et je vous recontacterai dans les plus brefs délais.

CV Ingénieur développeur informatique

CV Étudiant PhD Artificial Intelligence

Portfolio Artist designer