Installation
For those of you comfortable with installing web applications, installing InvoicePlane should take 5 minutes or less.
- Download and extract the archive.
- Create an empty database on your web server.
- Upload the files to your web server, either into a subdirectory or into the public root of the web server.
-
Make a copy of the
ipconfig.php.example
file and rename the copy toipconfig.php
-
Open the
ipconfig.php
file and add your URL in it like described in the file. -
Run the InvoicePlane installer from your web browser and follow his instructions:
http://your-domain.com/index.php/setup
Once the installer finished, the installation is complete and you may log into InvoicePlane using the email address and password you have chosen during the installation.
Run InvoicePlane in a sub directory
If you want to run InvoicePlane in a sub directory (e.g. http://yourdomain.com/invoices/
) you have
to modify the .htaccess
file which is located in the root directory. You must add the line
RewriteBase /sub-directory
where sub-directory
is the directory you want to use. The content of the file should look like this:
RewriteEngine on
RewriteBase /sub-directory
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
After that, open your ipconfig.php
file and add the sub directory to your URL like this:
http://your-domain.com/sub-directory
Notice that there is no trailing slash.
Remove index.php from the URL
Please notice that this step is entirely optional and does not affect the application in any way.
- Make sure that mod_rewrite is enabled on your web server.
- Open the file
ipconfig.php
- Search for
REMOVE_INDEXPHP=false
in this file and replace it withREMOVE_INDEXPHP=true
- Rename the
htaccess
file to.htaccess