Installing mod_harbour - a little help please

Post Reply
karweru
Posts: 4
Joined: Thu May 28, 2020 8:43 pm

Installing mod_harbour - a little help please

Post by karweru » Sat Jun 20, 2020 10:43 am

Hi all,

I’ve downloaded a win64 installer from github, run the install but I’ve run into a problem at the very end. My install paths are c:\apache24 and c:\modharbour
install.png
install.png (119.17 KiB) Viewed 262 times
Anyone kindly assist how to resolve this.

Thanks,
Gilbert

ramirezosvaldo
Posts: 2
Joined: Mon Nov 11, 2019 9:43 pm

Re: Installing mod_harbour - a little help please

Post by ramirezosvaldo » Sat Jun 20, 2020 7:29 pm

Reinstalar Visual C++ Redistributable for Visual Studio 2015

Saludos

Cesar_SCS
Posts: 7
Joined: Tue Nov 26, 2019 5:09 pm

Re: Installing mod_harbour - a little help please

Post by Cesar_SCS » Sat Jun 20, 2020 7:34 pm

hi,

mi skype

live:sysctrlsoftware

sysctrlsoftware@outlook.com

karweru
Posts: 4
Joined: Thu May 28, 2020 8:43 pm

Re: Installing mod_harbour - a little help please

Post by karweru » Sat Jun 20, 2020 9:33 pm

Thank you very much...I've resintalled visual c++ and now it is working. I'll get on to looking to the samples I see whether i can get upto speed with this wonderful development.

Many thanks
Gilbert

karweru
Posts: 4
Joined: Thu May 28, 2020 8:43 pm

Re: Installing mod_harbour - a little help please

Post by karweru » Sat Jun 20, 2020 9:52 pm

I now have a problem running samples from http://localhost/modharbour_samples/

All samples are returning the following error;

mod_harbour version May 24 2020, 23:47:33
c:\Apache24\htdocs\libharbour.dll
The specified module could not be found.
failed to load hb_apache()

wilsongamboa
Posts: 19
Joined: Tue Nov 26, 2019 1:38 pm

Re: Installing mod_harbour - a little help please

Post by wilsongamboa » Thu Jun 25, 2020 11:15 pm

please follow this steps only for windows 64 bits


- downloads file http://54.37.60.38/doc/mod_harbour.zip
- install xampp from https://www.apachefriends.org/es/download.html
the one for win 64 bits
from the zip file
- copy file mod_harbour.so to c:\xampp\apache\modules
- copy libharbour.dll to c:\xampp\htdocs
- add to the final of configuration file c:\xampp\apache\conf\httpd.conf

this lines

LoadModule harbour_module modules/mod_harbour.so
SetEnv LIBHARBOUR "c:\xampp\htdocs\libharbour.dll"
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>

restart apache

write this program on a file called test.prg

function Main()

?? "Harbour power"
?
? Version()

return nil

create folder c:\xampp\htdocs\samples
copy the prg to c:\xampp\htdocs\samples

go to navigator and type localhost/samples/test.prg
and seek the power of mod_harbour
Cheers
Wilson

karweru
Posts: 4
Joined: Thu May 28, 2020 8:43 pm

Re: Installing mod_harbour - a little help please

Post by karweru » Fri Jun 26, 2020 9:15 pm

Thank you Wilson for your detailed instruction, I've finally succeeded.

I'll go on and test the samples for mod_harbour and learn as much as I can. If there is of course some resource instructions somewhere, i would appreciate you pointing it to me, or any other way to make the learning curve easier.

Many many thanks,

Gilbert

Post Reply