Installing Faveo Helpdesk on Windows Server


Faveo can run on the Windows Server.

The Installation steps listed above are to be followed to install Faveo on your Windows-IIS Server.

1. Install IIS Server

To install IIS Server open Server Manager and locate the Manage button on the top right corner click on it and select Add Roles and Features.

  • A wizard will open displaying the overview, click on Next, and under Installation Type select Role-based and Feature-based installation and select Next.

  • Leave the default in Server Selection and click Next.

  • Now under Server Roles search and enable the checkbox for Web Server IIS click on the Add Features window and proceed by clicking Next.

  • In the Features section locate the .NET Framework 3.5 and .NET Framework 4.7 select the packages as shown in the below image:

  • In the Role Services section locate the Appplication Development select the package CGI and click Next.

  • Click Next thrice to confirm the settings and finally click on Install. It will get the IIS installed on the server. To verify the installation, you can type the following URL in the browser

2. Install PHP 7.3

  • Click Here to download PHP 7.3 NTS x64 zip file. Extract the zip file & rename it to php7.3. Now move the renamed php7.3 folder to C:\Program Files.

  • Open php7.3 folder, find php.ini-development & rename it to php.ini to make it php configuration file.

  • Open php.ini using Notepad++, add the below lines at the end of this file & save the file:


extension_dir="C:\Program Files\php7.3\ext\"



3. Create FastCGI Handler Mapping

  • Open Server Manager, locate Tools on the top right corner of Dashboard, Click on it and select Internet Information Services (IIS) Manager.

  • Now in the Left Panel of the IIS Manager window select your server then you will find the Handler Mappings. Open Handler Mappings, Click on Add Module Mapping in the Right Panel, a new window will appear. Add the below in respective boxes & click OK.

  • RequestPath
  • Module
  • Executable (Optional)
    "C:\Program Files\php7.3|php-cgi.exe"
  • Name

  • Open notepad and copy the below lines and save the file under the path C:\inetpub\wwwroot as index.php. Make sure while saving you select all file types otherwise you will end up having the file as index.php.txt
  • Now in IIS Manager window find the Default Document. Open Default Document, Click on Add in the Right Panel, a new window will appear. Add index.php as Name & click OK.

4. Install MariaDB-10.3/MySQL 5.7

MariaDB 10.3 installation steps are listed below, MySQL 5.7 installation documentation link is given at the end of this section (section 4).

  • Click here to download MariaDB-10.3 from the official MariaDB website.

  • Execute the installer to perform the required installation steps and set the root password.

  • MySQL documentation

5. Enable cacert.pem File in PHP Configuration File

  • Click here to download cacaert.pem file. This is required to avoid the “cURL 60 error” which is one of the Probes that Faveo checks.
  • Extract the cacert.pem file and copy it to C:\Program Files\php7.3 path.
  • Edit the php.ini located in C:\Program Files\php7.3, Uncomment curl.cainfo and add the location of cacert.pem to it as below:
curl.cainfo = "C:\Program Files\php7.3\cacert.pem"

6. Install Ioncube Loader

  • Click here to download Ioncube Loader zip file, Extract the zip file

  • Copy the ioncube_loader_win_7.3.dll file from extracted Ioncube folder and paste it in the PHP extension directory C:\Program Files\php7.3\ext.

  • Add the below line in your php.ini file at the starting to enable Ioncube.

zend_extension = "C:\Program Files\php7.3\ext\ioncube_loader_win_7.3.dll"

7. Upload Faveo

  • Download the Faveo Helpdesk from and upload it to the below directory.
  • Give full permissions to IIS_IUSRS and Users for the wwwroot folder.

8. Configure Faveo in IIS Manager

  • Open IIS Manager and in the left pane, Explore till you find Default Web Site, select it.
  • Then in the right pane, you will see the Basic Settings option click on it, a new window will open as shown below:

  • Set the Physical Path value to:

9. Configure web.config file for IIS

  • Open notepad and copy the below lines and save the file under the path C:\inetpub\wwwroot\public as web.config. Make sure while saving you select all file types.
<?xml version="1.0" encoding="UTF-8"?>





                <rule name="Imported Rule 1" stopProcessing="true">

                    <match url="^" ignoreCase="false" />

                    <conditions logicalGrouping="MatchAll">

                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />

                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />


                    <action type="Rewrite" url="index.php" />






10. Setting up the Database

Open MariaDB 10.3 Command Line Client and run the below command.

  • Create a database called ‘faveo’.
  • Create a user called ‘faveo’ and its password ‘strong password’.
CREATE USER 'faveo'@'localhost' IDENTIFIED BY 'strongpassword';
  • We have to authorize the new user on the faveo DB so that he is allowed to change the database.
GRANT ALL ON faveo.* TO 'faveo'@'localhost';
  • And finally, we apply the changes and exit the database.

11. Configure IIS webserver

By default, IIS configures PHP only to accept GET, POST, and HEAD request types. Since Faveo makes use of other requests types (such as DELETE and PUT), you must manually change the PHP handler to allow them.

  • Open IIS Manager, Click on your Server Name which should load the dashboard with a handful of icons.

  • Double-click on the Handler Mappings icon to bring up the Handler Mappings screen.

  • Then double-click on the Handler for PHP files to bring up the Edit Module Mapping window:

Edit Verbs

  • Click on the Request Restrictions button, then switch to the Verbs tab. Switch the radio button to All Verbs, then click OK to close the window, then OK again to close the other.

  • Note: You may be prompted with an alert to fix the path to the PHP executable. If so, just put double-quotation marks around the path that already exists in the Executable box and it will save successfully.

12. Setting up Bindings

  • To Open the Faveo on your domain, you must set the binding.

  • Open IIS Manager and in the left pane, Explore till you find Default Web Site, select it.

  • Then in the right pane, you will see the Bindings option click on it, a new window will open select HTTP and edit the hostname to your concerned Domain as shown below:

  • Now you can open the browser and enter the IP or Domain Name to open Faveo.

Disable WebDav (Optional)

To test the successful configuration perform some delete operations in Faveo if the Delete operation fails then the above steps are not sufficient at this point you may need to remove WebDav:

  • Go to Control Panel > Uninstall Program > Turn Windows features on or off > IIS > World Wide Web Services > Common HTTP feature > WebDAV Publishing.

13. Configure Task Scheduler

  • To open Task scheduler press Win+R and type taskschd.msc.
  • On the Right pane of the Task scheduler select Create Basic Task enter a Name for the task and click Next.

  • Under Task Trigger, section select Daily and click Next and leave the default values in Daily section tick the Synchronize across time zones and proceed Next.

  • Now under the Action section select Start a program and click Next.

  • In Start a program copy the below value into the program/script field.
  • Add the following highlighted values to the Argument :

  • This is for faveo incoming mail,esacalation, faveo update check.
    /c "c:\inetpub\wwwroot\faveo\artisan" schedule:run
  • This is for the reports.
    /c "c:\inetpub\wwwroot\faveo\artisan" queue:listen database --queue=reports
  • This is for recurring.
    /c "c:\inetpub\wwwroot\faveo\artisan" queue:listen database --queue=recurring
  • This is for outgoing mail
    /c "c:\inetpub\wwwroot\faveo\artisan" queue:work database

  • Finally under the Finish section select the checkbox to open the properties window after finish and click the Finish button.

  • In the properties window, select the Triggers tab, click on Edit and select the checkbox for Repeat task every set values to run every 5 minutes, for a duration of indefinitely and click on OK.

14. Redis Installation

Redis is an open-source (BSD licensed), in-memory data structure store, used as a database, cache and message broker.

This will improve system performance and is highly recommended.

15. SSL Installation

Secure Sockets Layer (SSL) is a standard security technology for establishing an encrypted link between a server and a client. Let’s Encrypt is a free, automated, and open certificate authority.

Faveo Requires HTTPS so the SSL is a must to work with the latest versions of faveo, so for the internal network and if there is no domain for free you can use the Self-Signed-SSL.

16. Install Faveo

Now you can install Faveo via GUI Wizard or CLI