XAMPP installation setup

I would like to share my setup using XAMPP and windows machine. To those beginners this might be helpful to you guys.

*Download the latest version of XAMPP at https://www.apachefriends.org/index.html

*Locate the htdocs folder in your XAMPP installation folder

*Delete the default files inside the htdocs folder and create a new folder

*Run the installation command inside the new folder you created
http://www.atlantis-cms.com/docs#intro

just in case you have no composer yet download it at https://getcomposer.org/

*Then in your XAMPP control panel click the Config button select the Apache(httpd.conf)

*Now point the DocumentRoot and <Directory to your project folder inside XAMPP

my httpd.conf
DocumentRoot "C:/xampp/htdocs/project-folder-name"

be sure to restart your XAMPP Apache when you change this file

*Don't forget to create your database
you can check the .env file inside your project folder for the database config

DB_HOST=127.0.0.1
DB_DATABASE=project-db
DB_USERNAME=root
DB_PASSWORD=null

here i just use the root access for testing locally (do not use this in production)

That's all! :wink:

Comments

  • Thanks!

  • Is it possible to set up .htaccess without changing the document root inside XAMPP?
    I've modified the bundled one like this:
    RewriteBase /ProjectsFolder/atlantis-demo/

    but it's not working properly.
    Only the admin login and the admin dashboard link are working.
    all others routes redirects to 127.0.0.1

  • You have the rewritebase correct, and since the admin is working correctly I am guessing you will need to adjust apache document root.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!