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.


Windows

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.
  • open ..\conf\httpd.conf
  • verify server root directory path at 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.
Define SRVROOT "c:/Apache24x64"
# ...
DocumentRoot "${SRVROOT}/htdocs"

You can install PHP now or later. Check PHP install for further details.

If you would like to use LDAP(S) go to page “[niota_set_LDAPS | set LDAPS authentication]].

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”

verify dll files for openssl - used by niota password encryption and LDAPS connection

If the following three dll file are differs in Apache24/bin folder than the ones in PHP folder it raises error during using LDAPS connection or password encryption/decryption:

  • libssl-1_1-x64.dll
  • libcrypto-1_1-x64.dll
  • libsasl.dll

These files must be copied from PHP root folder into Apache24/bin folder. It is recommended to back up original files of Apache.

Error message starts with “Call to undefined function openssl_decrypt()…”

niota-docs/niota_install_apache.1747317934.txt.gz · Last modified: 2025/07/17 14:11 (external edit)