forked from diegofazio/hw_apacheV2
-
Notifications
You must be signed in to change notification settings - Fork 10
Installation
DIEGO H FAZIO edited this page Mar 7, 2022
·
16 revisions
- You can download mod_harbour.v2 with the latest updates( beta ) binaries from actions page( available for 90 days from build )...
- You can download mod_harbour.v2 latest stable version from the release page...
- You can download harbour binaries/dependencies to build mod_harbour.v2 from...
- https://github.com/diegofazio/harbour_binaries/tree/master/Linux -> Linux
- https://github.com/diegofazio/harbour_binaries/tree/master/Windows -> Windows( check hbssl contrib fix )
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