How to install Grav CMS in XAMPP Windows 11


Grav CMS focuses on modernity and speed. It is a simple yet powerful content management system available today. It was developed by Andy Miller, Djamil Legato, and Matias Griese and was initially released on July 30, 2014.


For this post, we will be making a new website using this free and amazing CMS which is absolutely for free. But before anything else, make sure to download the two important files below. I also provided the download links for your convenience.


Requirements:



Assuming that you already downloaded the files above, continue doing the tutorials below.


Table of Contents


  • XAMPP installation on Windows 11
  • Running XAMPP Control Panel's Apache and MySQL
  • Copying Grav installer to HTDOCS folder
  • Grav installation via Localhost or 127.0.0.1
  • Accessing Grav website home page
  • Accessing Grav website ADMIN account

Here are the steps on how to install Grav CMS in XAMPP using your Windows 11 pc


XAMPP installation on Windows 11


1. Open your XAMPP downloaded file. If a Question appears, just press YES to proceed.


xampp installation warning about antivirus

2. If a warning also appears about User Account Control (UAC), click OK to continue.


xampp installation warning about user account control windows

3. In the Setup - XAMPP, click NEXT.


welcome to xampp setup wizard witn next button

4. In the Select Components, click NEXT also.


xampp installation select components

5. In the Installation folder, do not change it. Click NEXT again to proceed.


xampp installation select a folder to install xampp

6. Inside Language, select English (you can also select your own local language). Click NEXT again.


select language for xampp installation

7. You are now ready to install your Grav CMS. Click NEXT to start.


xampp installation ready to begin

8. Wait for the unpacking and the installation to finish.


xampp installation in progress unpacking files

9. When done, uncheck the "Do you want to start the Control Panel now?" and click Finish to exit.


xampp installation finished

Running XAMPP Control Panel's Apache and MySQL


1. To run xampp, you can either its shortcut icon your desktop or go to Start and search for xampp and then press ENTER.


search for xampp app windows

2. Inside XAMPP Control Panel, click the Start buttons for Apache and MySQL.


start xampp apache mysql server

3. When Apache and MySQL are running, you will see Stop on both buttons.


xampp apache mysql server are running

4. If a Windows Security Alert appears, click on Allow access to exit.


allow access to xampp in windows defender firewall

Copying Grav installer to HTDOCS folder


1. Go to the Grav zip file that you downloaded earlier. Extract it and name your extracted folder as "grav" for this tutorial. Now, go to Start and search for "this pc" and press ENTER.


search for this pc windows 11

2. Inside This PC, click your C drive.


windows 11 c drive

3. Inside, find and click on xampp folder.


xampp folder located in c drive windows 11

4. Inside xampp, click on htdocs.


htdocs folder located in xampp folder c drive windows 11

5. Paste your grav folder inside htdocs.


copying geeklog installer inside xampp htdocs folder

Grav installation via Localhost or 127.0.0.1


1. Grav do not requires making a database to be able to start its installation unlike other free CMS. So, let's start installing our website. Open your internet browser and enter 127.0.0.1/grav or localhost/grav and press ENTER.


installation of grav cms using internet browser via xampp localhost

2. If the PHP Modules: There were problems with required modules: gd - PHP GD (Image Manipulation Library) is required but not installed appears, then, do the simple steps below to fix it.


How to fix GD error during Grav installation

  • Go to c:\xampp\php and find php.ini
  • Right-click open with Notepad
  • Find ";extension=gd"
  • From ;extension=gd change it to extension=gd
  • Save Notepad
  • Restart XAMPP
  • Restart Grav Installation

php module gd error during grav installation

3. Assuming that there is no error or you fixed the GD error above. Type in the needed details for your admin account below. Type your username, I used "admin" for this tutorial, type your email and password. When done, press Create User to proceed.


grav website create website admin user

4. Done! You are automatically login inside your admin account. And your Grav website is also created instantly.


grav website admin page created

Accessing Grav website home page


1. To view your Grav website homepage, just go to 127.0.0.1/grav or localhost/grav.


sample grav website homepage

Accessing Grav website ADMIN account


1. To login your admin account, just go to 127.0.0.1/grav/admin. Type your username and password. Press Login to proceed.


grav website user login page

2. Inside your administration page account, you will see Dashboard, Configuration, Accounts, Pages, Plugins, Themes, and Tools links that only as Administrator of your website can see and access. You can start modifying your Grav website to make it look more professional and cool. You can also start making pages or articles to have your website some contents. And if you wish to make your website accessible online, you can upload it later on a live or online web hosting. If you cannot afford a paid one, you can register for a free web hosting. There are a lot of these available today.


grav website adminnistration page

Done! You have successfully created a free website using Grav CMS. If you have a question, you can leave a comment below. Thank you.

No comments:

123how.xyz only wants on-topic comment. Do not include any link, else your comment won't be published. Thanks!

Most Read Tutorials:

Powered by Blogger.