# Install SolidInvoice - Open Source Invoicing Software - on Windows

## What is SolidInvoice?

> SolidInvoice is a sophisticated open-source invoicing application designed to assist small businesses and freelancers in efficiently managing their daily billing operations. With its comprehensive range of features, this elegant online platform ensures that you receive timely payments. -https://github.com/SolidInvoice/SolidInvoice

## Installation

1. Download XAMPP Download
2. Download SolidInvoice Download
3. Download Microsoft Visual C++ Download
4. Install Microsoft Visual C++
5. Right click the downloaded XAMPP .zip file > Extract All...
6. Right click the downloaded SolidInvoice .zip file > Extract All...
7. Rename the extracted folder solidinvoice
8. Cut the solid folder inside the XAMPP/ directory
9. Copy the extracted XAMPP directory to a safe location to run from, C:\Program Files for example
10. Run XAMPP/setup_xampp.bat to update the configuration files with the new server location
11. Navigate into XAMPP/Apache/conf and edit httpd.conf in a text editor
12. Paste the following at the bottom of the httpd.conf file

    Listen 8080
    <VirtualHost *:8080>
    DocumentRoot "<%SOLIDINVOICEPATH%>"
    <Directory "<%SOLIDINVOICEPATH%>">
    # enable the .htaccess rewrites
    AllowOverride All
    Order allow,deny
    Allow from All
    </Directory>
    </VirtualHost>

13. Save the changes and close out of the editor
14. Navigate to XAMPP/php and edit php.ini in a text editor
15. Find the following lines and remove the ; to uncomment them

    extension=gd
    extension=intl
    extension=openssl
    extension=soap
    extension=xsl
    extension=zip
    zend_extension=opcache

16. Search for the phrase error_reporting and updated the value as shown

    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

17. Save the changes to php.ini and close the text editor
18. Run XAMPP/xampp-control.exe
19. Click the Start button next to Apache and MySQL
20. Navigate to XAMPP/mysql/bin
21. Hold the SHIFT key and right click in the white space > Open PowerShell window here...
22. Type the following in the PowerShell window to setup the SolidInvoice database
    .\mysql -u root
    CREATE DATABASE solidinvoice;
    GRANT ALL ON solidinvoice.* TO 'solidinvoice_rw'@'localhost' IDENTIFIED BY 'SolidInv0ic3!';
    FLUSH PRIVILEGES;
    EXIT;
    exit

## SolidInvoice Web Installer

1. Open a web browser and navigate to http://DNSorIP:8080
2. Click the Next button at the lower right corner of the System Requirements page
3. Complete the Database settings as follows:

   Driver: Mysql
   Host: localhost
   Port: 3306
   User: solidinvoice_rw
   Password: SolidInv0ic3!
   Database Name: solidinvoice

4. Click Next
5. After the database schema is created successfully > Click Next
6. Click the Log In Now button
7. Login with the admin credentials created earlier
8. Enter a Company Name and select the default currency > Click Create
9. Welcome to SolidInvoice

Source: https://docs.solidinvoice.co/en/latest/guide/getting_started.html