Installation on UBUNTU 16.04?

Hi, good afternoon,

I am trying to install Dolibarr on UBUNTU 16.04. And run in many problems.

1st I tried that way: How to install dolibarr on Ubuntu
Version 3.5.8+dfsg1-1ubuntu1
but during Installation I run in the following error: www.dolibarr.org/t/sql-db-error-syntax/13295/1 (which is not solved yet here in the forum).
Okay - but the hint is clear: a higher version can , maybe , make it :smiley:

2nd way:

Version 3.9.2-4

here the problem: that dependecies are not correct/existing:
dependency problems prevent configuration of dolibarr:
dolibarr depends on libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5; however:
Package libapache2-mod-php5 is not installed.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
Package php5-fpm is not installed.
Package php5 is not installed.
dolibarr depends on php5-cli; however:
Package php5-cli is not installed.
dolibarr depends on php5-mysql | php5-mysqli; however:
Package php5-mysql is not installed.
Package php5-mysqli is not installed.
dolibarr depends on php5-curl; however:
Package php5-curl is not installed.
dolibarr depends on php5-gd; however:
Package php5-gd is not installed.
dolibarr depends on php5-ldap; however:
Package php5-ldap is not installed.
dolibarr depends on php5-geoip; however:
Package php5-geoip is not installed.

dpkg: error processing package dolibarr (–install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for gnome-menus (3.13.3-6ubuntu3) …
Processing triggers for desktop-file-utils (0.22-1ubuntu5) …
Processing triggers for mime-support (3.59ubuntu1) …
Errors were encountered while processing:
dolibarr

How can I setup Dolibar under UBUNTU 16.04. using PHP 7.0.4-7ubuntu2.1 and using MYSQL (5.7.12-0ubuntu1.1), Apache 2.4.18 ?

Does Dolibar support PHP 7.0 ?

Thanks for any anwers.

Pièces jointes :

Dolibarr 3.9 does not support PHP7.

You have to downgrade to php5.

See topic: www.dolibarr.org/t/ubuntu-16-04-downgrade-php7-to-php5/13824/1

serious? Any plans that Dolibarr will support PHP 7/0 ?

Dolibarr 4.0 should be compatible with PHP 7 but more feedbacks are still expected to confirm that.

Change log 4.0

fappels: thanks for your postings

I followed your link - and php-v shows that php5.6 is active.
but trying to install 3.9.2-4: still the same error messages :frowning:

dependency problems prevent configuration of dolibarr:
dolibarr depends on libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5; however:
Package libapache2-mod-php5 is not installed.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
Package php5-fpm is not installed.
Package php5 is not installed.
dolibarr depends on php5-cli; however:
Package php5-cli is not installed.
dolibarr depends on php5-mysql | php5-mysqli; however:
Package php5-mysql is not installed.
Package php5-mysqli is not installed.
dolibarr depends on php5-curl; however:
Package php5-curl is not installed.
dolibarr depends on php5-gd; however:
Package php5-gd is not installed.
dolibarr depends on php5-ldap; however:
Package php5-ldap is not installed.
dolibarr depends on php5-geoip; however:
Package php5-geoip is not installed.

dpkg: error processing package dolibarr (–install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for gnome-menus (3.13.3-6ubuntu3) …
Processing triggers for desktop-file-utils (0.22-1ubuntu5) …
Processing triggers for mime-support (3.59ubuntu1) …
Errors were encountered while processing:
dolibarr

That means: no changes - even it is php 5.6. And of course: the mentioned denpendicies : If I try to install them manually: it failed, f.e.:
Building dependency tree
Reading state information… Done
Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libapache2-mod-php5’ has no installation candidate

How should I use Dolibarr on Unbuntu 16.04? Waiting on Dolibarr 4.0? When it will be released? I am not happy with this situation. Time is running, look like I have to switch to another ERP. :frowning: And have to spend a lot of time to understand. But as I said: time is running.

Try to download zip version and extract, copy htdocs folder to /var/www/html/ and try install the dolibarr in browser http://localhost/htdocs

try to install. Yes - that what I done. And both ways failed.Please look at my first posting.
ZIP-File and Ubuntu? Serious?

Not a really helping answer. Sorry to say it.

Hi katschi download and install v 4 beta , if I am not mistaken the stable version 4 will be released this month.