So for example, You are a good website designer and you have multiple big clients for whom you will design websites. So first, Xampp is open source and hence it will let you create local hosts and local servers for free without any charges. If you want to read more, you can check it out here. Hence using Xampp, you can create our computer or Mac or iMac into a local server so that you can run or Test some websites. It basically gives us localhost and local servers. So, in short, it provides server-based and database based services. It mainly consists of, Apache HTTP server, MariaDB database, and interpreters for scripts written in PHP and Perl languages. Xampp is an open-source and cross-platform web server solution stack package which is developed by Apache. Xampp stands for- “ X (Letter for Cross-platform) A (Apache) M (MariaDB) P (PHP) and P (Perl)“. So first we will understand What is Xampp? Why use Xampp? Let’s discuss it, shall we! What is Xampp? We know that some of you are wondering what is xampp, some of you are just installing it without knowing what it is used for. If you encounter any issues with the tutorial, feel free to let me know.In this article, we will learn about how to install Xampp on Mac that is your Macbook or iMac. Now you have one good to go WordPress instance on your mac. If you assigned root password earlier in MySQL secure installation then use the same Password here.Use the default username : root and no need enter any password.Type the name of the database that you created earlier.Then you will be taken to another page asking for database details.Once completed all these steps, you can start installing WordPress by opening in your browser. Now we have everything ready to run the WordPress.ĭownload the WordPress from this page, and extract it into your desired location.Īfter extracting the package, open your terminal and navigate to the WordPress folder, run the following command php -S localhost:8000 Use the following command to create a database where should be your database’s desired name.Įg : CREATE DATA BASE Techshits_wp CREATE DATABASE You will get few questions to answer, and that’s all.Īfter securing your MySQL installation, you have to create a database for your upcoming WordPress installation. It may take a few minutes, but it’s worth it. By default, MySql comes without a root password, so we need to make sure it’s protected. Use the following commands to install and start the mysql service. Now that we have installed homebrew, we can use that to get PHP installed. Wait for few minutes to complete the installation and it’s done. To install the homebrew in your mac, you have to run the following command on the terminal. Homebrew is an open-source package manager for Macs, which makes installing lots of other softwares like Git, Ruby, and Node simpler. And it I got amused with the performance of M1 chip after the installation How to install WordPress on Macbook M1. I got frustrated, I went through the Internet, and nothing helped me to fix this issue, so I decided to install the stack manually.
0 Comments
Leave a Reply. |