Skip to content

Installation

DIEGO H FAZIO edited this page Mar 7, 2022 · 16 revisions

Where can I download the binaries ?

  • You can download mod_harbour.v2 with the latest updates( beta ) binaries from actions page( available for 90 days from build )...
  1. https://github.com/mod-harbour/mod_harbour.v2/actions
  • You can download mod_harbour.v2 latest stable version from the release page...
  1. https://github.com/mod-harbour/mod_harbour.v2/releases
  • You can download harbour binaries/dependencies to build mod_harbour.v2 from...
  1. https://github.com/diegofazio/harbour_binaries/tree/master/Linux -> Linux
  2. https://github.com/diegofazio/harbour_binaries/tree/master/Windows -> Windows( check hbssl contrib fix )

Apache configuration

Add these lines at the bottom of httpd.conf

<FilesMatch "\.(prg|hrb|view)$">
    SetHandler harbour
</FilesMatch>
  • Windows
LoadModule mod_harbourV2_module modules/mod_harbour.v2.so
MH_LIBRARY c:\\xampp\htdocs\\libmhapache.dll
MH_NVMS 10

We will place libmhapache.dll in the apache htdocs folder. In this example it is placed in a xampp htdocs folder.

  • Linux
LoadModule mod_harbourV2_module /usr/lib/apache2/modules/mod_harbour.v2.so
MH_LIBRARY /var/www/html/libmhapache.so
MH_NVMS 10

Change these parameter in etc/apache2/mods-enabled/mpm_event.conf (Only for Linux)

StartServers 1
Clone this wiki locally