Paste the following at the bottom of the httpd.conf file
Alias /invoiceninja "C:/Program Files/xampp/invoiceninja/public"
<Directory "C:/Program Files/xampp/invoiceninja/public">
DirectoryIndex index.php
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Save the changes and close out of the editor
Click the Start button > Search Control > Click Control Panel
Click on System > Advanced system settings
Click the Environment Variables...
Edit the System Path variable
Click the New button
Add the PHP installation directory (ie C:\Program Files\xampp\PHP\)
Click the New button
Add the MySQL installation directory (ie C:\Program Files\xampp\mysql\bin\)
Click OK to all open dialog windows
Back in File Explorer, runun XAMPP/xampp-control.exe
Click the Start buttons next to Apache and MySQL
Navigate to XAMPP/mysql/bin
Hold the SHIFT key and right click in the white space > Open PowerShell window here...
Run the following commands in the PowerShell window to setup the database
.\mysql -u root CREATE DATABASE invoiceninja; GRANT ALL ON invoiceninja.* to 'invoice_ninja_rw'@'localhost' IDENTIFIED BY '!nv0ic3Ninj@!'; FLUSH PRIVILEGES; EXIT; exit
InvoiceNinja Web Installer
Open a web browser and navigate to http://DNSorIP/invoiceninja/setup
The InvoiceNinja web setup should be load
Enter the URL to use for the site (ie http://DNSorIP/invoiceninja)
Uncheck the Require HTTPS option > Click Test PDF
Complete the Database Connection form as follows
Host: localhost
Port: 3306
Database: invoiceninja
Username: invoice_ninja_rw
Password: Click the Test connection button
If you have an Email server, configure it under Email Settings, otherwise leave the driver as Log and click the Send test email button
Completed the User Details form by entering a First Name, Last Name, Email and Password
Check both I Agree checkboxes > Click Submit
If the page redirects to http://localhost, navigate to http://localhost/invoiceninja/index.php
Login with the Email and Password setup earlier > Click Login with email
On the Welcome dialog, enter a company name and select the Light or Dark theme > Click Save