WordPress MultiManager - your centralized solution for effortless management of multiple WordPress sites. Apply bulk updates, install plugins and themes, manage users, get emails about available updates, and more. Streamline your WordPress workflow now with WordPress MultiManager. It's completely free!
Dolibarr is an open source software package for companies of any size, foundations, or freelancers. It includes different features for ERP (Enterprise Resource Planning) and CRM (Customer Relationship Management) and can be extended further by different modules. Dolibarr can be installed on our servers.
This guide has been tested with Dolibarr version 21.
Prerequisites
Before you install Dolibarr, there are a few settings to configure on your hosting account.
SSH access and Network tools must be enabled for your account via the hosting Control Panel > SSH Access section.
The PHP version should be PHP 8.1 or later for the domain/subdomain where you wish to use Dolibarr. You can learn more on how to change your PHP settings in our Changing PHP settings article.
Create a MySQL 8 database (e.g. example_dolibarr) and user (e.g. dolibarruser) for the Dolibarr application. For security reasons, MySQL databases and users can be created only through the hosting Control Panel. Detailed instructions on the process are available in our Creating a MySQL database/user article. Make sure that the MySQL user is associated with the database by following the instructions from our Associating a MySQL user with a database article.
To have Dolibarr working via HTTPS, install an SSL certificate on the server for your domain or subdomain, and force HTTPS for it via the hosting Control Panel > SSL/HTTPS section > Force HTTPS subsection.
Installation
The easiest way to install the files of Dolibarr is with Git, so connect to your account via SSH, and navigate to the directory of the domain/subdomain where you wish to use Dolibarr (e.g. ~/www/www for your main domain):
cd /home/$USER/www/www
Download the Dolibarr files with Git:
git clone https://github.com/Dolibarr/dolibarr/ This will upoad the Dolibarr files in the ~/www/www/dolibarr directory of your account.
The public files of Dolibarr are located in its htdocs folder, so you should access the hosting Control Panel > Subdomains section and change the Document Root for the Dolibarr domain/subdomain to that folder. If you wish to use Dolibarr on your main domain, set the Document Root for the www subdomain to /www/www/dolibarr/htdocs.
Set the default MySQL socket for PHP to MySQL 8 instead of MySQL 5 by adding the following line to a .user.ini file in the htdocs folder:
mysqli.default_socket=/tmp/mysql8.sock If Dolibarr is installed on your main domain, you can make this change with the following SSH command:
Access the Dolibarr setup wizard by opening the install folder of the domain/subdomain of Dolibarr (e.g. http://example.com/install), and follow the listed steps.
Enter the following details on the Configuration file step under Dolibarr Database:
• Database name - Enter the name of the MySQL 8 database you created earlier for Dolibarr (e.g. example_dolibarr). • Login - Enter the name of the MySQL 8 user you created earlier for the Dolibarr database (e.g. dolibarruser). • Password - Enter the password for the MySQL 8 user.
Leave the remaining fields with their default values, unless you wish to customize your Dolibarr installation.
Proceed further, and on the Administrator login creation page, enter a username and password for the main Dolibarr administrator.
After the Dolibarr administrator user is created, you should create a file named install.lock in the htdocs directory of Dolibarr to prevent unauthorized access to the Dolibarr installation script. If Dolibarr is installed on your main domain, you can create the file using this SSH command:
All prices are in USD. No setup fees. Minimum contract period for shared hosting services - 12 months. Full prepayment for the contract period. 100-day money-back guarantee. No automatic renewal. Fees for domain registrations and SSL certificates cannot be refunded in case of an early contract termination.