Building modharbour with ADS on Linux

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Building modharbour with ADS on Linux

Postby reinaldocrespo » Sun Jun 30, 2024 12:45 pm

Hello ModHarbourers;

Wishing to experiment more with ModHarabour, I have setup an old computer with Fedora server + Apache + PHP 8.2. Apache and PHP are working fine.

I have <git> cloned mod_harbour from GitHub.com/fivetechsoft/mod_harbour.git and Harbour from GitHub.com/vszakats/harbour-core.git. (1)-- Or should I git clone from somewhere else?

I hear some chatter about "Mercury". (2)-- Is this a mod_harbour replacement or something I should be aware of?

(3) -- And; before I build modharbour from its sources I want to make sure support for ADS is included and I need help with that. Will I need to download ADS .so from somewhere or are also built from source? How?

(4) -- Should I desist on building Modharbour for Fedora Linux and build a Windows Server instead?

Thank you.

Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: Building modharbour with ADS on Linux

Postby Otto » Sun Jun 30, 2024 4:13 pm

Hello Reinaldo,
These are good news.
I think most people here are Windows programmers, and it would benefit the community more if you build your server on Windows.
But maybe I'm wrong.
Best regards,
Otto
Last edited by Otto on Mon Jul 01, 2024 12:53 pm, edited 1 time in total.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: Building modharbour with ADS on Linux

Postby Antonio Linares » Mon Jul 01, 2024 6:19 am

Dear Reinaldo,

You should git clone Harbour from https://github.com/harbour/core

If you need ADS support, then you have to build Harbour with ADS support. I will provide you detailed instructions about this in a next post.

Linux version is much faster than the Windows version, anyhow I encorage you to test it for yourself and compare response times.

Also, there is a mod_harbour 3.0 version in the repo that has been reported to be the fastest version. Again, you should test it for yourself and
compare your results.

Charly (Carles Aubia) may provide you the right information about "Mercury". It is an addon for mod_harbour.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Building modharbour with ADS on Linux

Postby Antonio Linares » Mon Jul 01, 2024 8:13 am

This way you build Harbour using ADS:

SET HB_WITH_ADS=your_path_to_ADS_include
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Building modharbour with ADS on Linux

Postby reinaldocrespo » Tue Jul 02, 2024 1:07 pm

Thank you Otto and thank you Antonio;

I decided I will setup a Windows server as well as the Linux server both running Apache.

I'm always busy with many things but expect to spend some time testing Mod_harbour and PHP accessing ADS tables.

I'm fully aware we are on our own when it comes to ADS but it works soooooo well... Damn frkng SAP.

R.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Re: Building modharbour with ADS on Linux

Postby giuliano » Tue Jul 02, 2024 2:08 pm

Hi Reinaldo,
here my experience using mod_harbour + ADS on Linux

I have been using mod harbour + ADS in a Linux machine for 2 years .
It's faster, stable and easy to maintain/config .
I use also Postgres driver to connect on particular Database . It's fast and stable.
If you want some help don't esitate to contact me here in the forum or via mail .
I think the only limitation now is ADS support . I use ADS 11 release .
I agree with you . ADS works well well well ... Mod_Harbour too .

Thanks to Antonio and all the modharbour team.

Giuliano
User avatar
giuliano
 
Posts: 44
Joined: Mon Sep 25, 2006 8:38 am
Location: ITALY


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 2 guests

cron