Cant get FCM installed

mike stander's Avatar

mike stander

14 Jun, 2018 07:42 PM

Ik been trying to install FCM on my server. Im running CentosWebPanel. on a centos 7 machine.

Distro Name: CentOS Linux release 7.5.1804 (Core)
Kernel Version: 3.10.0-862.3.2.el7.x86_64
Apache version: Apache/2.4.29
PHP version: 7.2.2
MySQL version: 10.1.33-MariaDB

and when i have applied database credentials and press next, i get this error code
Fatal error: Cannot redeclare ImageCreateFromBMP() in /home/site4/public_html/site4.lokaal/inc/utils.php on line 3647

I changed the rights on few folders you mentioned in the installation instructions..but I cant find any other requirements.
I hope you can help me out.


  1. Support Staff 1 Posted by Ryan Haudenschi... on 14 Jun, 2018 07:56 PM

    Ryan Haudenschilt's Avatar

    Currently FCMS doesn't work very well with PHP 7+.

    So you have 2 options.

    1. use php version less than 7.2.
    2. edit the utils.php code and wrap the function ImageCreateFromBMP call in a function_exists. something like...
    if (!function_exists('ImageCreateFromBMP')) {
        function ImageCreateFromBMP()
            ... code is here ...

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

27 Jun, 2019 05:03 PM
19 Apr, 2019 12:58 PM
18 Apr, 2019 03:28 PM
09 Apr, 2019 01:16 AM
12 Mar, 2019 03:10 PM