Hello,
translated with google.
I followed the instuctions and all worked.
Thank you Jose.
On this server I use APACHE 64 bit and mod harbour 64 bit.
Best regards
Otto
*** MANUAL PARA INSTALACION Y EJECUCION DE MOD_HARBOUR EN WINDOWS ***
======================================================================
// Tips, to avoid writing errors I advise you to copy paste everything you can
)
// I have not done it but it has come out in 10 steps.
// The tutorial although I have transcribed it is due to wisdom and the desire to help
// of the friend Cristobal Navarro. Without it nothing would be the same, Ah we can program in the FIVEDIT
// and execute the code from the same IDE.
// Thanks to Antonio Linares, Cristobal Navarro and everyone who contributes, especially
// to Carles Aubia so that mod_harbour grows every day. MANY THANKS.
1.- Download XAMPP for windows web.
https://www.apachefriends.org/es/index.html2.- Download mod_harbour from the web.
https://github.com/FiveTechSoft/mod_harbour3.- We install XAMPP folder by default C:\xampp
4.- we create a new folder called modharbour_samples in C:\xampp\htdocs
5.- In that folder created "modharbour_samples" we copy the inside of
the samples folder of the file "mod_harbour-master.zip" that we have downloaded.
But look inside the folder "samples" the same folder is not included
There are a number of apps, blog folders, all that.
6.- Search within the downloaded zip "mod_harbour-master.zip" the file mod_harbour.so of the
version of windows that you use (in my case 64 bits, it is in
mod_harbour-master.zip \ mod_harbour-master \ windows \ win64) and copy it to C: \ xampp \ apache \ modules
7.- In the same folder you have mod_harbour.so in this case mod_harbour-master \ windows \ win64
there is a libharbour.dll dll copy it to C: \ xampp \ htdocs
8.- In the folder C: \ xampp \ apache \ conf there is a file called httpd.conf, make a copy
security of the same as a precaution, now edit the file and at the beginning of it and before
Define SRVROOT "C:/xampp/apache"
ServerRoot "C:/xampp/apache"
paste these two lines
Define SRVROOT "C:/xampp/apache"
SetEnv LIBHARBOUR "c:\xampp\htdocs\libharbour.dll"
Then look for Loadmodule in the file, you get a list (there are quite a few)
go to the end of all of them and place.
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
Save the file.
9.- Now start the Apache and in the browser type:
localhost/modharbour_samples/info.prg
You should get the correct screenshot with the code .prg executed in Apache.
10.- Now you can go testing all the files you have in Samples or add yours
Own, you know.
localhost/modharbour_samples/mifichero.prg
And that's all my friends.
Jose Vte. Cheto Agosto - 2019.