Edinn uses Apache+PHP as webserver.

Step 1. Microsoft Visual C++

Location: .\Server\1. New\2. WebServer\1. Microsoft VisualC++2012

  1. Install Microsoft Visual C++ 2012 Redistributable – 11.61030 (both the 32 bits vc_redist.x86.exe and the 64 bits version vc_redist.x64.exe)
  2. Restart the server.

Step 2. Apache HTTP Configuration

Location: .\Server\1. New\2. WebServer\2. Apache\httpd-2.4.54-o111l-x64-vs16.zip

Extract the content of the file httpd-2.4.54-o111l-x64-vs16.zip  locally in the following path: C:\Program Files\edinn\edinnM2\Server\websrv\Apache (create it if does not exist).

WARNING: if you installed server in a different path, you must change the following parameters in http.conf: apache configuration path

Step 3. PHP

Location: .\Server\1. New\2. WebServer\3. PHP\php-7.4.30-Win32-VC15-x64.zip

Extract the file locally in the following path: C:\Program Files\edinn\edinnM2\Server\websrv\php (create it if does not exist).

Location : .\Server\1. New\2. WebServer\3. PHP\sendmail.zip

Extract the content of the folder sendmail.zip locally in the following path: C:\Program Files\edinn\edinnM2\Server\websrv\sendmail (create it if does not exist).

Include this path: C:\Program Files\edinn\edinnM2\Server\websrv\php in the system path of your Windows. To do this, you can open CMD.EXE with administrator permissions and type:

setx /M path "%path%;C:\Program Files\edinn\edinnM2\Server\websrv\php;C:\Program Files\edinn\edinnM2\Server\websrv\Apache\bin"

WARNING:
- If you installed the webserver in a different path, you must change the previous directory paths.
- Make sure that  "C:\Windows\Temp" is a correct path.
- If you receive any error message you will have to manually edit the system environment variables.

Step 4. Install Apache

WARNING: before starting the Apache web service, you should check that any other application has blocked the same port that you chose (generally the 80 port) for the apache web server. Applications that can block the 80 port could be:

       - Windows local services: "World Wide Web publishing service" should be turned off and marked as disabled or to start manually, before continuing with the next steps.
       - Skype: close it before continuing with the next steps.
       - Microsoft Internet Information Services: close it and disable the local service before continuing with the next steps.

Run a DOS session with administrator permissions (Windows cmd.exe) and run the following commands:

  1. Write exactly: cd C:\Program Files\edinn\edinnM2\Server\websrv\apache\bin
  2. Write exactly: httpd.exe -k install

Some warnings could be shown: you can ignore them as long as the service is installed and can be started. This step creates a windows service that we will be renamed later.

  1. Delete the service, write exactly: sc delete "Apache2.4"
  2. Restart the computer.
  3. Recreate the service, write exactly:
    SC CREATE edinnM2_WebServer binPath="C:\Program Files\edinn\edinnM2\Server\websrv\Apache\bin\httpd -k runservice" DisplayName="edinnM2 Web Server" start="auto"

WARNING: if you installed the web server in a different path, you must change it in the previous lines.

Step 5. Start the service

In the windows explorer, click on Services and then start the local services administrator: edinnM2 Web Server