niota

fascinating. logical.

User Tools

Site Tools


niota-docs:niota_install_apache

This is an old revision of the document!


install apache application server

Prerequisites


  • Microsoft Visual C++ 2015-2019 Redistributable (x64).

You can find the installer on niota download page.


install apache

Execute listed tasks step by step in the given order

  • Open .zip file and copy Apache 2.4 to the drive’s root. Eg.: “C:\Apache24x64” or “D:\ Apache24x64”. This is the recommended way according to Apache’s install guide.
  • Copy “php-7.3.8_x64” into folder: “C:\Program Files\”.
  • Open “Apache24x64\conf\httpd.conf”
  • Verify server root directory path at part:
  • Define SRVROOT “C:/ Apache24x64”
  • Verify document root directory path. If you want to place Niota somewhere else than “htdocs” folder, change it, otherwise leave it as it is.
DocumentRoot "${SRVROOT}/htdocs"
  • Check if PHP path is correct at those lines:
AddHandler application/x-httpd-php .php
AddType application/x-httpd-php .php .html
LoadModule php7_module "C:/Program Files/php-7.3.8_x64/php7apache2_4.dll" 
PHPiniDir "C:/Program Files/ php-7.3.8_x64" 
  • Check php configuration:
    • Navigate to file: “C:\Program Files\php-7.3.8_x64\php.ini”
    • Verify if paths are set correctly:
      • session.save_path = “C:\Apache24x64\tmp\”
      • extension_dir = “C:\Program Files\php-7.3.8_x64\ext”
    • If you would like to use LDAP(S) go to chapter “Set LDAPS authentication” on page 3.

install apache as service

  • Stop Apache if running
  • Run command prompt in admin mode
  • Navigate to folder: “Apache24x64\bin\”
  • Run command:
httpd.exe -k install -n "Apache24x64_niota"
  • Open 'Local Services' window
  • Right click on Apache2.4 → Properties → Log On tab → fill 'This account' form

remove/uninstall apache service

  • Stop Apache service
  • Navigate to “\bin” folder of that Apache installation which service you would like to remove (e.g.: C:\Apache24x64\bin\ )
  • Run command:
httpd.exe -k uninstall -n "Apache24x64_niota”
niota-docs/niota_install_apache.1637525962.txt.gz · Last modified: 2025/07/17 14:11 (external edit)