-
Notifications
You must be signed in to change notification settings - Fork 45
mod_harbour setup for Windows Xampp
FiveTech Software edited this page Feb 18, 2020
·
7 revisions
Xampp users:
Depending on the used Xampp version (32/64 bits) you need to copy two files from the folder mod_harbour\windows\win32 or mod_harbour\windows\win64
copy mod_harbour.so to c:\xampp\apache\modules\
copy libharbour.dll to c:\xampp\htdocs\
Then you have to edit c:\xampp\apache\conf\httpd.conf
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetEnv LIBHARBOUR "c:\xampp\htdocs\libharbour.dll"
SetHandler harbour
</FilesMatch>
(re)start Apache from the Xampp Control Panel
For easy of testing, copy all mod_harbour\samples to c:\xampp\htdocs\samples
From web browser go to: localhost/samples
Summary: Every time you udpate mod_harbour with git pull you must:
a) copy mod_harbour.so and libharbour.dll
b) copy mod_harbour\samples