Issue : Setup Wizard as an uninterpreted html page

Hi there,

An .deb installation on linux mint finishes with what looks like an uninterpreted html page as wizard (see : https://pastebin.com/iy9TsVhp).
.deb used is https://sourceforge.net/projects/dolibarr/files/Dolibarr%20installer%20for%20Debian-Ubuntu%20(DoliDeb)/10.0.4/
apt-get install -f was done.
apt update && apt upgrade too.

Rem

Recommanded installation from .tgz file worked. I recommand too ! :slight_smile:

Hi,

You always need to setup a complete LAMP before using the .deb
Your error was that php is not executed.

Really ?
It is said that the .deb package comes

packaged with Mysql, PHP and Apache or Lighttpd https://wiki.dolibarr.org/index.php/Dolibarr_for_Ubuntu_or_Debian

or

This distribution allows you to make an installation under Ubuntu with all prerequisites (Apache, Mysql, PHP) https://wiki.dolibarr.org/index.php/Installation_-_Upgrade

Yes it is comming with the right packages, but the configuration is missing.
So most of the time, the Vhost is not declared or PHP not enabled

Better to install first a working LAMP, then install dolibarr with .tgz package

Good to know.

I think I found why it didn’t work. conf.php was not executable.

cd dolibarr ; touch htdocs/conf/conf.php ; chown www-data htdocs/conf/conf.php

of the wiki should be followed by

sudo chmod 755 /var/www/html/dolibarr/htdocs/conf/conf.php

Hi,

Conf.php needs to be 644 during the installation then 444
755 is quiet dangerous

Thanks for advising, I am going to fix it.