Installing Dolibarr: This page isn’t working right now

Hello,
I’m trying to install dolibarr using this tutorial: Manual installation on Windows - Dolibarr ERP CRM Wiki.
I installed MariaDB, php8 and apache2.4 and I tested that all of them work correctly.
I can’t finish the installation because when I open the site localhost/dolibarr I get the message This page isn’t working right now HTTP ERROR 500.
I changed the MariaDB’s ports to 3310 and the apache’s port to 85.
I checked all the extensions are uploaded by opening the php test file.
So what else can I do to proceed with the installation?
Thank you.

Hello,

Error 500 means PHP error: what does the Apache error log says?

Where can I find the error log?

Found it.
here its content:

AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
PHP Warning: PHP Startup: Unable to load dynamic library ‘gd2’ (tried: C:\php\ext\gd2 (Impossibile trovare il modulo specificato), C:\php\ext\php_gd2.dll (Impossibile trovare il modulo specificato)) in Unknown on line 0
[Mon Oct 02 18:42:59.351340 2023] [mpm_winnt:notice] [pid 9116:tid 332] AH00455: Apache/2.4.57 (Win64) PHP/8.2.11 configured – resuming normal operations
[Mon Oct 02 18:42:59.351340 2023] [mpm_winnt:notice] [pid 9116:tid 332] AH00456: Apache Lounge VS17 Server built: Aug 2 2023 17:28:16
[Mon Oct 02 18:42:59.352337 2023] [core:notice] [pid 9116:tid 332] AH00094: Command line: ‘C:\Apache24\bin\httpd.exe -d C:/Apache24’
[Mon Oct 02 18:42:59.356325 2023] [mpm_winnt:notice] [pid 9116:tid 332] AH00418: Parent: Created child process 15416
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
PHP Warning: PHP Startup: Unable to load dynamic library ‘gd2’ (tried: C:\php\ext\gd2 (Impossibile trovare il modulo specificato), C:\php\ext\php_gd2.dll (Impossibile trovare il modulo specificato)) in Unknown on line 0
[Mon Oct 02 18:42:59.996903 2023] [mpm_winnt:notice] [pid 15416:tid 336] AH00354: Child: Starting 64 worker threads.
[Mon Oct 02 19:03:29.845212 2023] [php:error] [pid 15416:tid 1356] [client ::1:49725] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:03:37.108502 2023] [php:error] [pid 15416:tid 1348] [client ::1:49726] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:05:39.604425 2023] [php:error] [pid 15416:tid 1356] [client ::1:49875] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:06:50.942410 2023] [php:error] [pid 15416:tid 1356] [client ::1:49938] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:09:37.865920 2023] [php:error] [pid 15416:tid 1356] [client ::1:50173] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:10:12.115171 2023] [php:error] [pid 15416:tid 1348] [client ::1:50179] script ‘C:/Apache24/htdocs/dolibarr/install/document.php’ not found or unable to stat
[Mon Oct 02 19:10:44.954276 2023] [php:error] [pid 15416:tid 1356] [client ::1:50215] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\check.php(43): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:10:49.154438 2023] [php:error] [pid 15416:tid 1348] [client ::1:50252] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\check.php(43): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 19:14:16.499099 2023] [mpm_winnt:notice] [pid 9116:tid 332] AH00422: Parent: Received shutdown signal – Shutting down the server.
[Mon Oct 02 19:14:18.513068 2023] [mpm_winnt:notice] [pid 15416:tid 336] AH00364: Child: All worker threads have exited.
[Mon Oct 02 19:14:18.536008 2023] [mpm_winnt:notice] [pid 9116:tid 332] AH00430: Parent: Child process 15416 exited successfully.
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
PHP Warning: PHP Startup: Unable to load dynamic library ‘gd2’ (tried: C:\php\ext\gd2 (Impossibile trovare il modulo specificato), C:\php\ext\php_gd2.dll (Impossibile trovare il modulo specificato)) in Unknown on line 0
[Mon Oct 02 19:14:19.586728 2023] [mpm_winnt:notice] [pid 5156:tid 368] AH00455: Apache/2.4.57 (Win64) PHP/8.2.11 configured – resuming normal operations
[Mon Oct 02 19:14:19.586728 2023] [mpm_winnt:notice] [pid 5156:tid 368] AH00456: Apache Lounge VS17 Server built: Aug 2 2023 17:28:16
[Mon Oct 02 19:14:19.586728 2023] [core:notice] [pid 5156:tid 368] AH00094: Command line: ‘C:\Apache24\bin\httpd.exe -d C:/Apache24’
[Mon Oct 02 19:14:19.590716 2023] [mpm_winnt:notice] [pid 5156:tid 368] AH00418: Parent: Created child process 17668
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
PHP Warning: PHP Startup: Unable to load dynamic library ‘gd2’ (tried: C:\php\ext\gd2 (Impossibile trovare il modulo specificato), C:\php\ext\php_gd2.dll (Impossibile trovare il modulo specificato)) in Unknown on line 0
[Mon Oct 02 19:14:20.229908 2023] [mpm_winnt:notice] [pid 17668:tid 336] AH00354: Child: Starting 64 worker threads.
[Mon Oct 02 21:28:49.820444 2023] [mpm_winnt:notice] [pid 5156:tid 368] AH00422: Parent: Received shutdown signal – Shutting down the server.
[Mon Oct 02 21:28:51.832620 2023] [mpm_winnt:notice] [pid 17668:tid 336] AH00364: Child: All worker threads have exited.
[Mon Oct 02 21:28:51.857340 2023] [mpm_winnt:notice] [pid 5156:tid 368] AH00430: Parent: Child process 17668 exited successfully.
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
[Mon Oct 02 21:28:52.935703 2023] [mpm_winnt:notice] [pid 1400:tid 360] AH00455: Apache/2.4.57 (Win64) PHP/8.2.11 configured – resuming normal operations
[Mon Oct 02 21:28:52.935703 2023] [mpm_winnt:notice] [pid 1400:tid 360] AH00456: Apache Lounge VS17 Server built: Aug 2 2023 17:28:16
[Mon Oct 02 21:28:52.935703 2023] [core:notice] [pid 1400:tid 360] AH00094: Command line: ‘C:\Apache24\bin\httpd.exe -d C:/Apache24’
[Mon Oct 02 21:28:52.939685 2023] [mpm_winnt:notice] [pid 1400:tid 360] AH00418: Parent: Created child process 4560
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
AH00558: httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::4c4f:49dc:2a5a:c44c. Set the ‘ServerName’ directive globally to suppress this message
[Mon Oct 02 21:28:53.528549 2023] [mpm_winnt:notice] [pid 4560:tid 392] AH00354: Child: Starting 64 worker threads.
[Mon Oct 02 21:29:39.713630 2023] [php:error] [pid 4560:tid 1344] [client ::1:51005] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 21:31:34.030324 2023] [php:error] [pid 4560:tid 1352] [client ::1:51180] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(175): Translate->load()\n#2 C:\Apache24\htdocs\dolibarr\install\step1.php(39): Translate->loadLangs()\n#3 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 21:38:23.084177 2023] [php:error] [pid 4560:tid 1344] [client ::1:59592] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074
[Mon Oct 02 21:49:47.463414 2023] [php:error] [pid 4560:tid 1344] [client ::1:60310] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php:9074\nStack trace:\n#0 C:\Apache24\htdocs\dolibarr\core\class\translate.class.php(267): dol_osencode()\n#1 C:\Apache24\htdocs\dolibarr\install\index.php(42): Translate->load()\n#2 {main}\n thrown in C:\Apache24\htdocs\dolibarr\core\lib\functions.lib.php on line 9074

Hello,

You have several issues :

ServerName is not configured on Apache Config

PHP GD extension is missing
Check why C:\php\ext\php_gd2.dll doesn’t exist

PHP MB_STRING extension is missing.

Thank you for your reply.
How can I solve the errors?

I gave the answers above.

Solved.
To fix the AH00558 error: ServerName is not configured on Apache Config, I added the following line to the httpd.conf file
ServerName 127.0.0.1

For the error: PHP Warning: PHP Startup: Unable to load dynamic library ‘gd2’ I removed the ; in the line extension=gd in the php.ini file and I also copied the library glib-2.dll to the folder Apache24\bin

Finally for the error PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding(), I removed the ; in the line extension=mbstring n the php.ini file.

Thank you so much for your help.

1 Like