FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour no PHP on the APACHE web server
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
no PHP on the APACHE web server
Posted: Mon Aug 23, 2021 05:22 AM

Hwello fireinds,
Do we have to install PHP on the APACHE web server for mod harbor to work?
I think a system without PHP and only mod harbor on the backend is more secure.
Best regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: no PHP on the APACHE web server
Posted: Mon Aug 23, 2021 09:49 AM

Dear Otto,

We don't need to install PHP to use mod_harbour

mod_harbour is pure Harbour and it is all that we need :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: no PHP on the APACHE web server
Posted: Tue Aug 24, 2021 09:10 AM
Dear Antonio,
do you have a stress test program for mod harbour and DBF?

Thank you in advance
Otto



Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: no PHP on the APACHE web server
Posted: Tue Aug 24, 2021 10:37 AM

Dear Otto,

We use Apache's ab.exe (Apache Benchmark) to stress mod_harbour and see how it behaves.

This is an example:
apache_folder_bin\ab.exe -n 100 -c 10 your_url_modharbour_webapp

Regarding executing multi threaded Harbour code, mod_harbour uses a timeout for each thread so if it waits
longer than expected, mod_harbour kills such thread

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: no PHP on the APACHE web server
Posted: Tue Aug 24, 2021 01:55 PM

Dear Antonio,
Thank you.
I think what Ruby means is that maybe DBF is incapable to handle many requests.
I never made such an experience. Important you know how to work with DBF. But that is valid for everything.
For my purpose, DBF is best.
Maybe you can tell us about the limits of DBF.

Best regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: no PHP on the APACHE web server
Posted: Tue Aug 24, 2021 04:15 PM

Dear Otto,

DBFs accesses on the web are managed by Harbour (and mod_harbour) the same way as on a LAN (shared access and record locking, unlocking)

So we have the same limitations that we have on a desktop EXE working on a LAN regarding the use of DBFs: almost none :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: no PHP on the APACHE web server
Posted: Tue Aug 24, 2021 04:43 PM

Dear Antonio,
Thank you. As you know, WINHOTEL is always installed on a Remote Server. This way we have no problems with LAN as we access locally.
The same as a standalone desktop program.
Same with mod harbour. If you have your DBF files stored on the mod harbour server, all is locally.

Best regards,
Otto

Continue the discussion